Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1019214 - [RFE] Connect foreman bootiso when creating a new VM and boot from it.
[RFE] Connect foreman bootiso when creating a new VM and boot from it.
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Bootdisk Plugin (Show other bugs)
6.0.2
Unspecified Unspecified
unspecified Severity low (vote)
: GA
: Unused
Assigned To: Lukas Zapletal
Sachin Ghai
http://projects.theforeman.org/issues...
: FutureFeature, Triaged
: 1286702 (view as bug list)
Depends On:
Blocks: 260381
  Show dependency treegraph
 
Reported: 2013-10-15 06:03 EDT by pgustafs
Modified: 2018-05-02 03:30 EDT (History)
18 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-21 07:28:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
console logs while booting vm through bootdisk (323.54 KB, image/png)
2017-11-22 03:34 EST, Sachin Ghai
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 3287 None None None 2016-04-26 13:06 EDT
Red Hat Product Errata RHSA-2018:0336 normal SHIPPED_LIVE Important: Satellite 6.3 security, bug fix, and enhancement update 2018-02-21 17:43:42 EST

  None (edit)
Comment 1 RHEL Product and Program Management 2013-10-15 06:07:53 EDT
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 2 Dominic Cleal 2013-10-15 06:09:05 EDT
"User wants to be able to connect foreman bootiso when creating a new VM and boot from it as an alternative to PXE boot (they using vmware as virtualization platform.)

There is networks where PXE boot not is possible due to various reasons a good alternative to PXE boot would be to having foreman connect an foreman bootiso to the VM when it's created and boot from it instead."
Comment 4 Dominic Cleal 2013-10-15 07:52:15 EDT
Peter, what configuration method do you think is needed here?  I can think of the following, where a mixture might be best:

1. global setting to always use bootdisk for VMs that would otherwise PXE boot
2. per-compute resource setting
3. per-subnet setting
4. always use it if there's no DHCP and TFTP proxy on the subnet
Comment 5 pgustafs 2013-10-15 08:20:55 EDT
(In reply to Dominic Cleal from comment #4)
> Peter, what configuration method do you think is needed here?  I can think
> of the following, where a mixture might be best:
> 
> 1. global setting to always use bootdisk for VMs that would otherwise PXE
> boot
> 2. per-compute resource setting
> 3. per-subnet setting
> 4. always use it if there's no DHCP and TFTP proxy on the subnet

Dominic, I think a mixture would be good:

1. global setting to always use bootdisk for VMs that would otherwise PXE boot
2. per-subnet setting
3. always use it if there's no DHCP and TFTP proxy on the subnet
4. Per-host setting, e.g. an checkbox when creating the host
Comment 7 Corey Welton 2014-05-07 20:40:09 EDT
Moving to 6.0.4 for QE purposes.
Comment 8 Bryan Kearney 2015-08-25 13:22:43 EDT
Upstream bug component is Bootdisk Plugin
Comment 9 Bryan Kearney 2016-03-23 09:32:37 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/3287 has been closed
-------------
Anonymous
Applied in changeset commit:foreman_bootdisk|de59b7bba2ff16953fa6eaffef205000ec60aced.
Comment 15 Ondřej Pražák 2016-11-04 07:48:37 EDT
*** Bug 1286702 has been marked as a duplicate of this bug. ***
Comment 16 Sachin Ghai 2017-11-22 03:30:29 EST
Verified with sat6.3 GA snap25.

User can see new Provisioning method on UI under operating system tab while creating new host "Bootdisk based".

QE tested this feature on vmware compute-resource(Version 6.5.0.10000 Build 6671409). 

Please make sure that the user through which you'r trying to create host on vmware should have following permissions on "datastore" to upload bootdisk ISO, otherwise provisioning may fail at upload_iso step.

Datastore > Browse Datastore and Datastore > Low level file operations


Verification steps for Vmware:

1. Define a static subnet where no dhcp and tftp services are available
2. create host and select vmware compute-resource
3. Select Bootdisk based provisioning method
4. please select Nic type "vmxnet3 or e1000" from interfaces tab. QE tested both and both are working fine.
5. Make sure to select the checkbox "Add a CD-ROM drive to the virtual machine." from virtual machine tab.
6. when you submit the form, host will be created in vmware and will boot through auto attached ISO. Its a per-host bootdisk iso.
Comment 18 Sachin Ghai 2017-11-22 03:34 EST
Created attachment 1357293 [details]
console logs while booting vm through bootdisk
Comment 19 Sachin Ghai 2017-11-22 03:40:39 EST
@lzap: my understanding is that this feature only works with vmware and intend of this RFE is to cover only vmware CR ? I can see the changes in upstream PR are around vmware only. However, would like to get confirmation here please.
Comment 20 Lukas Zapletal 2017-11-23 09:38:28 EST
Yes that is correct.
Comment 21 Sachin Ghai 2017-12-05 06:15:17 EST
Based on comments 16-20 moving this to verified.
Comment 24 errata-xmlrpc 2018-02-21 07:28:04 EST
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:0336
Comment 25 Dhaval 2018-04-30 03:19:31 EDT
Which port is used to autoattach image from satellite to vCenter .. is it port 443 form capsule or master ?
Comment 26 Lukas Zapletal 2018-05-02 03:25:40 EDT
Hello, all VMWare requests go from Sat Server. This is the same for all compute resources unfortunately, we are tracking an RFE.
Comment 27 Dhaval 2018-05-02 03:30:51 EDT
Thanks @lzap, so Port 443 I have to open from my Satellite Master -> vCenter.

Thanks,

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