Bug 1553535 - Bootdisk error: Failed to render boot disk template: undefined method `bootdisk_raise' (Satellite 6.3)
Summary: Bootdisk error: Failed to render boot disk template: undefined method `bootdi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Bootdisk Plugin
Version: 6.3.0
Hardware: All
OS: Linux
medium
medium with 3 votes
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: jcallaha
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-09 02:32 UTC by dgupte
Modified: 2022-03-13 14:45 UTC (History)
24 users (show)

Fixed In Version: tfm-rubygem-foreman_bootdisk-10.0.2.3-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 15:23:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 22482 0 Normal Closed Helper method bootdisk_raise does not work in host context 2020-12-01 14:33:49 UTC
Red Hat Knowledge Base (Solution) 3467961 0 None None None 2018-06-04 11:31:08 UTC
Red Hat Product Errata RHBA-2018:3411 0 None None None 2018-10-30 15:23:17 UTC

Comment 4 Rajeev Verma 2018-03-23 13:21:02 UTC
Is there any progress on this bug?  I would like to use the following feature ASAP - Satellite 6.3 Feature Overview: Auto-attach Bootdisk for VMWare [Tech Preview] (
https://access.redhat.com/articles/3358591).   I am trying to use Provisioning Method as Boot disk based then I get the following error:

Failed to generate ISO image for instance <took out the name> undefined method `bootdisk_raise' for #<Host::Managed:0x007fa68a09ab40> Did you mean? bootdisk_isofile

Comment 7 Andrea Rucks 2018-06-08 21:21:51 UTC
Updated to Satellite 6.3 on 6/5/18 to take advantage of iPXE booting for UEFI.

Experiencing this exact bug trying to provision a HPE Apollo Gen 10 that uses UEFI and iPXE.

Chose None for PXE Loader following the 6.3 Provisioning guide:

PXE loader - Red Hat Satellite 6.3 supports the booting of both BIOS and UEFI systems. If your host uses PXE provisioning, you must select the correct DHCP file to load. If your host uses PXE-less provisioning, for example iPXE, select None.

Choosing from Boot disk drop down menu, selecting Host <hostname> image, gives the exact error mentioned above.

As a test, selecting Full host <hostname> image, downloads an ISO.  Mounting and examining the ISO shows no EFI / UEFI directory structure, just a boot directory.

The error is repeatable.

Cheers,
Andrea

Comment 10 Lukas Zapletal 2018-06-12 15:41:23 UTC
Also reported as https://bugzilla.redhat.com/show_bug.cgi?id=1565487 for 6.4

Andrea, UEFI for Bootdisk / iPXE is not supported by Satellite 6.3:

https://access.redhat.com/solutions/2674001

Comment 11 Lukas Zapletal 2018-06-12 15:43:32 UTC
Hello all,

this is trivial bug, sorry for being late but the workaround is simple:

Clone Bootdisk host template or Bootdisk generic template, edit it and remove "bootdisk_raise" lines. Set the template as default in Administer - Settings - Bootdisk and redownload bootdisks.

Please note bootdisks based on iPXE does not support HTTPS or/and UEFI. Use Full host disk to use both or PXE-less disovery.

Comment 13 Andrea Rucks 2018-06-12 17:45:13 UTC
Thanks Lukas, we'll implement using a different tack then,

Just curious, would you or your team have any insight you could share on when folks could anticipate seeing UEFI Bootdisk functionality in Satellite 6.x, please?  

Q4 CY2018 / Q1 CY2019?

Cheers,
Andrea

Comment 14 Lukas Zapletal 2018-08-24 12:39:07 UTC
Andrea, no plans for UEFI bootdisk at the moment. We just merged UEFI HTTP BOOT feature tho into upstream. So bootdisk is actually not needed in UEFI, you can do straight HTTP or HTTPS boot now.

Comment 18 Lukas Zapletal 2018-09-20 08:05:02 UTC
Yes, 6.4 is good. TY

Comment 20 jcallaha 2018-10-24 13:13:10 UTC
Verified in Satellite 6.3.5 Snap 1.

I performed the steps outlined in the initial bug report.

Not only was no error presented, but the bootdisk iso downloaded correctly.

Additionally, provisioning a new host with that iso showed that the image was also correct.

See attached video for verification.

Comment 22 Rajeev Verma 2018-10-24 13:34:45 UTC
(In reply to jcallaha from comment #20)
> Verified in Satellite 6.3.5 Snap 1.
> 
> I performed the steps outlined in the initial bug report.
> 
> Not only was no error presented, but the bootdisk iso downloaded correctly.
> 
> Additionally, provisioning a new host with that iso showed that the image
> was also correct.
> 
> See attached video for verification.

Thanks.  How do I see the attached video.  Where is the attached video located?

Comment 24 errata-xmlrpc 2018-10-30 15:23:03 UTC
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-2018:3411


Note You need to log in before you can comment on or make changes to this bug.