Bug 1661498
Summary: | Failure parsing Discovery Red Hat kexec: Safemode doesn't allow to access 'append' on #<Safemode::ScopeObject> | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> |
Component: | Discovery Plugin | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0 | CC: | egolov, jyejare, lzap, mhulan, pcreech, rabajaj |
Target Milestone: | 6.5.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_discovery-14.0.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-14 12:39:37 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
Jan Hutař
2018-12-21 11:13:06 UTC
release not available yet, but lzap is working on it *** Bug 1666010 has been marked as a duplicate of this bug. *** *** Bug 1670302 has been marked as a duplicate of this bug. *** The issue was still seen in Satellite 6.5.0 snap 15. ``` There was an error rendering the Discovery Red Hat kexec template: undefined local variable or method `append' for #<Foreman::Renderer::Scope::Provisioning:0x0000000012330038> ``` Verified! @ Satellite 6.5 snap 18 Steps: Scenario1: 1. Provisioned a Host on local libvirt. 2. Attempted to render/preview the kexec template. Behavior(Expected): 1. The template is rendered successfully as: ``` { "kernel": "http://example.com/pulp/repos/Default_Organization/Library/rhel7_cv/custom/rhel76_prod/rhel76_repo//images/pxeboot/vmlinuz", "initram": "http://example.com/pulp/repos/Default_Organization/Library/rhel7_cv/custom/rhel76_prod/rhel76_repo//images/pxeboot/initrd.img", "append": "ks=http://example.com:8000/unattended/provision&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= nomodeset nomodeset", "extra": [] } ``` Scenario2: 1. Discover and provision the pxe-less host. Behavior(Expected): The host is discovered and provisioned as kexec(without booting) and didn't see the freezing as BZ #1670302 says. 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, 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/RHSA-2019:1222 |