Bug 1741922

Summary: [DOCS] Failed to open file error during iPXE install
Product: OpenShift Container Platform Reporter: rvanderp
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: David Sanz <dsanzmor>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: low    
Version: 4.1.0CC: aos-bugs, jokerman, kalexand, wsun
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-04 18:40:10 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 rvanderp 2019-08-16 12:57:51 UTC
Document URL: https://docs.openshift.com/container-platform/4.1/installing/installing_bare_metal/installing-bare-metal.html#installation-user-infra-machines-pxe_installing-bare-metal

Section Number and Name: iPXE kernel arguments

Describe the issue: 
During the bootstrapping from iPXE to RHCOS, an error message is shown such as:

Failed to open file: http:\\the-server:8080\rhcos-4.1.0-x86_64-installer-initramfs.img

Suggestions for improvement: 
The `initrd` argument is treated as a file and not a URL.  iPXE has already downloaded rhcos-4.1.0-x86_64-installer-initramfs.img.  Setting `initrd=rhcos-4.1.0-x86_64-installer-initramfs.img` allows the installation to progress.

Additional information: 

[not working] -
kernel http://the-server:8080/rhcos-4.1.0-x86_64-installer-kernel ip=dhcp rd.neednet=1 initrd=http://the-server:8080/rhcos-4.1.0-x86_64-installer-initramfs.img console=tty0 console=ttyS0 coreos.inst=yes coreos.inst.install_dev=sda coreos.inst.image_url=http://the-server:8080/rhcos-4.1.0-x86_64-metal-uefi.raw.gz coreos.inst.ignition_url=http://the-server:8080/dist/rhcos/ign/bootstrap.ign
initrd http://the-server:8080/rhcos-4.1.0-x86_64-installer-initramfs.img

[working] -
kernel http://the-server:8080/rhcos-4.1.0-x86_64-installer-kernel ip=dhcp rd.neednet=1 initrd=rhcos-4.1.0-x86_64-installer-initramfs.img console=tty0 console=ttyS0 coreos.inst=yes coreos.inst.install_dev=sda coreos.inst.image_url=http://the-server:8080/rhcos-4.1.0-x86_64-metal-uefi.raw.gz coreos.inst.ignition_url=http://the-server:8080/dist/rhcos/ign/bootstrap.ign
initrd http://the-server:8080/rhcos-4.1.0-x86_64-installer-initramfs.img

Comment 1 Ashley Hardin 2019-10-23 19:08:51 UTC
Work in progress: https://github.com/openshift/openshift-docs/pull/17561

Comment 7 Ashley Hardin 2019-12-03 14:47:56 UTC
QE approved in the PR