Bug 1123700
| Summary: | cannot set systemd variable as ksmeta | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | general | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Amit Saha <asaha> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.17 | CC: | aigao, asaha, dcallagh, ebaak, rmancy |
| Target Milestone: | 0.17.2 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-30 02:35:06 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: | |||
On Gerrit: http://gerrit.beaker-project.org/3220 Steps to reproduce: 1. Import a custom distro based on RHEL7 but with an unrecognised OS major name 2. Set "systemd=True" in kickstart metadata for the OS major (pick Admin -> OS Versions from the menu, click the OS major) 3. Submit a job using the custom distro Actual results: Kickstart generated for the recipe does not contain the snippet to disable rhts-compat: cat >> /etc/profile.d/task-overrides-rhts.sh <<END export RHTS_OPTION_COMPATIBLE= export RHTS_OPTION_COMPAT_SERVICE= END Expected results: Kickstart should contain the snippet to disable rhts-compat. Failed QA. beaker-0.17.2 has been released. |
Some snippets use {% if systemd == True %} which makes it impossible to set systemd in ordinary ksmeta -- ksmeta variables can only be strings, they will never be True or False. The conditionals should just be {% if system %}