Project

General

Profile

ERF42-9666 » History » Version 3

Lukas Zapletal, 09/15/2020 07:12 AM

1 1 Lukas Zapletal
h1. ERF42-9666: HTTP boot requires proxy with httpboot feature and http_port exposed setting
2
3 3 Lukas Zapletal
h2. Root cause
4
5 2 Ewoud Kohl van Wijngaarden
HTTP Boot requires a foreman-proxy to be associated with host/hostgroup subnet of the provisioning interface. The foreman-proxy also needs HTTP or HTTPS ports exposed, depending on the PXE loader (e.g. Grub2 HTTP UEFI or Grub2 HTTPS UEFI). The default installation enabled HTTPS, but HTTP is off by default. It can be enabled with the following command:
6 1 Lukas Zapletal
7
<pre>
8
foreman-installer \
9 2 Ewoud Kohl van Wijngaarden
  --foreman-proxy-http true
10 1 Lukas Zapletal
</pre>
11
12
To enable HTTP boot module the TFTP feature must be turned on because TFTP and HTTP boot features share the same directory for boot files:
13
14
<pre>
15
foreman-installer \
16
 --foreman-proxy-tftp true
17
</pre>
18
19
There is a advanced setting which is hidden by default which is enabled by default but check if that hasn't been disabled by mistake:
20
21
<pre>
22
foreman-installer \
23
 --foreman-proxy-http true \
24
 --foreman-proxy-httpboot true \
25
 --foreman-proxy-tftp true
26
</pre>
27 3 Lukas Zapletal
28
h2. Alternative root cause
29
30
Already registered smart-proxies must be refreshed via Refresh button/command to read newly exposed port numbers after Foreman upgrade.