Project

General

Profile

Unattended Provisioning Troubleshooting » History » Version 4

Christoph Witzany, 01/06/2013 08:42 AM

1 1 Corey Osman
h1. Unattended Provisioning Troubleshooting
2
3 2 Corey Osman
Below are some topics and troubleshooting steps that you may encounter while using the unattended provisioning.  Please add topics or provide answers if you can.
4
5 1 Corey Osman
h2. Host is stuck in PXEboot cycle after provisioning.
6
7 4 Christoph Witzany
h3. libvirt
8
9
PXELinux is broken for versions >= 4.02.
10
In your PXE default template replace "LOCALBOOT 0" with "LOCALBOOT -1"
11
If this does not help try "chain.c32 hd0,0" instead.
12
13 1 Corey Osman
h2. Host did not get the provision file
14
15 3 Florian Feldhaus
If your host can't get the provision file check your apache config. The foreman configuration should be in a file called <code>foreman.conf</code>. There you have the vHost configuration for HTTP and HTTPS access. If you have multiple interfaces in your foreman server, you must make sure that the right IP address under which the host tries to access the foreman server is configured here. You may also configure apache to listen on all interfaces by using the * wildcard. Your <code>foreman.conf</code> should look similar to
16
17
<pre>
18
<VirtualHost *:80>
19
  ServerName foreman.my.domain
20
  ServerAlias foreman
21
  DocumentRoot /usr/share/foreman/public
22
  PassengerAppRoot /usr/share/foreman/
23
  RailsAutoDetect On
24
  AddDefaultCharset UTF-8
25
</VirtualHost>
26
27
<VirtualHost *:443>
28
  ServerName foreman.my.domain
29
  ServerAlias foreman
30
31
  RailsAutoDetect On
32
  DocumentRoot /usr/share/foreman/public
33
  PassengerAppRoot /usr/share/foreman/
34
35
  # Use puppet certificates for SSL
36
37
  SSLEngine On
38
  SSLCertificateFile      /var/lib/puppet/ssl/certs/mycert.pem
39
  SSLCertificateKeyFile   /var/lib/puppet/ssl/private_keys/mykey.pem
40
  SSLCertificateChainFile /var/lib/puppet/ssl/certs/ca.pem
41
  SSLCACertificateFile    /var/lib/puppet/ssl/certs/ca.pem
42
  SSLVerifyClient         optional
43
  SSLOptions              +StdEnvVars
44
  SSLVerifyDepth          3
45
</VirtualHost>
46
</pre>
47
48 1 Corey Osman
h2. Some questions did not get answered by the provision file.
49
50
h2. Provision file is using the wrong installation media server.