Bug 1337931
Summary: | Possible regression in rendering Hostgroup Provisioning Templates | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Dylan Gross <dgross> | ||||
Component: | WebUI | Assignee: | Justin Sherrill <jsherril> | ||||
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.2.0 | CC: | bbuckingham, cwelton, ehelms, kbidarka, lpramuk, peter.vreman, xdmoon | ||||
Target Milestone: | Unspecified | Keywords: | Regression, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://projects.theforeman.org/issues/15188 | ||||||
Whiteboard: | |||||||
Fixed In Version: | rubygem-katello-3.0.0.38-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-27 11:02:58 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1098183, 1126087, 1126937 | ||||||
Attachments: |
|
Description
Dylan Gross
2016-05-20 13:40:40 UTC
Connecting redmine issue http://projects.theforeman.org/issues/12871 from this bug That code change should already be in the beta, i will double check and try to reproduce Upstream bug component is Content Management Moving to POST since upstream bug http://projects.theforeman.org/issues/12871 has been closed i confirmed this is NOT fixed as part of issue 12871, in fact that is commit was already in the beta. Created redmine issue http://projects.theforeman.org/issues/15188 from this bug Upstream bug component is WebUI Moving to POST since upstream bug http://projects.theforeman.org/issues/15188 has been closed *** Bug 1220728 has been marked as a duplicate of this bug. *** VERIFIED.
@satellite-6.2.0-14.2.el7sat.noarch
tfm-rubygem-katello-3.0.0.42-2.el7sat.noarch
Reproducer:
1. create Hostgroup "My Hostgroup" and associate it to Satellite Kickstart Default
2. Build PXE Default
3. # cat /var/lib/tftpboot/pxelinux.cfg/default
...
LABEL Satellite Kickstart Default - My Hostgroup
KERNEL boot/RedHat-6.8-x86_64-vmlinuz
APPEND initrd=boot/RedHat-6.8-x86_64-initrd.img ks=http://<SATFQDN>/unattended/template/Satellite%20Kickstart%20Default/My%20Hostgroup ksdevice=bootif network kssendmac
4. # curl http://<SATFQDN>/unattended/template/Satellite%20Kickstart%20Default/My%20Hostgroup
/var/log/foreman/production.log:
2016-06-06 06:25:02 [app] [I] Started GET "/unattended/template/Satellite%20Kickstart%20Default/My%20Hostgroup" for <CLIENT_IP> at 2016-06-06 06:25:02 -0400
2016-06-06 06:25:02 [app] [I] Processing by UnattendedController#hostgroup_template as HTML
2016-06-06 06:25:02 [app] [I] Parameters: {"id"=>"Satellite Kickstart Default", "hostgroup"=>"My Hostgroup"}
2016-06-06 06:25:02 [app] [I] Rendered inline template (71.7ms)
2016-06-06 06:25:02 [app] [W] There was an error rendering the Unnamed template:
| ActionView::Template::Error: undefined method 'mac' for Hostgroup::Jail (Hostgroup)
| /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.2.3/lib/safemode/jail.rb:17:in `method_missing'
| /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.2.3/lib/safemode.rb:89:in `bind'
>>> content_facet error was finally fixed, hitting yet another error reported earlier (BZ # is about to be confirmed...)
Let this BZ 1126937 be the bug that will attempt to fix hostgroup provisioning BZ 1126937 CLOSED - was too old and thus not very relevant one. Let this BZ 1126087 be the bug that will attempt to fix hostgroup provisioning 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/RHBA-2016:1501 |