Bug 1585092
Summary: | RHEV host creation: undefined method '#params' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukáš Hellebrandt <lhellebr> | ||||
Component: | Provisioning Templates | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.4 | CC: | cwelton, inecas, lhellebr, lpramuk, lzap, mhulan, mmccune, nkathole, orabin, pcreech, sjagtap, sshtein | ||||
Target Milestone: | 6.4.0 | Keywords: | Regression, Reopened, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | foreman-1.18.0.4-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-10-16 19:34:38 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: | 1572297 | ||||||
Attachments: |
|
Description
Lukáš Hellebrandt
2018-06-01 09:44:30 UTC
Created attachment 1446630 [details]
v3_production.log
Also happens with API v4 if bug 1585132 doesn't happen first (i.e., if using WUI rather than CLI). It looks like the error might be related to the finish template used by the operating system that was selected for the host. Does this happen with other compute resources? with a different template? This just happened to me with network based provisioning. Going to All Hosts -> <host> -> Templates -> View Finish Template leads to the white page with text: """ There was an error rendering the Satellite Kickstart Default Finish template: undefined method '#params' for Host::Managed::Jail (Host::Managed) """ ... so this is not related to RHEV, it's a template issue. Talking to lzap about this. This is caused by the fact, branding plugin templates still use all (removed) macros. BZ 1572980 will fix that. I'd recommend closing as duplicate, but if you want to keep it open to reverify image based provisioning, just please keep the status in sync with that BZ. *** This bug has been marked as a duplicate of bug 1572980 *** Build:Satellite 6.4.0 snap 14 hammer> compute-resource list ---|---------|--------- ID | NAME | PROVIDER ---|---------|--------- 1 | rhv | RHV 3 | rhvv4 | RHV 2 | vmware1 | VMware ---|---------|--------- hammer> host create --hostgroup "rhel7_hstgrp" --compute-resource-id 3 --compute-profile-id 2 --root-password dog8code --location "Default Location" --organization-id 1 --name test-me-rhvv4 --compute-attributes "start=1" Host created. hammer> host create --hostgroup "rhel7_hstgrp" --compute-resource-id 1 --compute-profile-id 2 --root-password dog8code --location "Default Location" --organization-id 1 --name test-me-rhvv3 --compute-attributes "start=1" Host created. I am able to view the templates and the RHV network provision on v3 is successful https://sat-host/unattended/finish?hostname=test-me-rhvv3.domain There is another issue blocking rhv v4 network provisioning https://bugzilla.redhat.com/show_bug.cgi?id=1603185 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-2018:2927 |