Project

General

Profile

Unattended Provisioning Troubleshooting » History » Version 3

Florian Feldhaus, 08/30/2012 09:19 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
h2. Host did not get the provision file
8
9 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
10
11
<pre>
12
<VirtualHost *:80>
13
  ServerName foreman.my.domain
14
  ServerAlias foreman
15
  DocumentRoot /usr/share/foreman/public
16
  PassengerAppRoot /usr/share/foreman/
17
  RailsAutoDetect On
18
  AddDefaultCharset UTF-8
19
</VirtualHost>
20
21
<VirtualHost *:443>
22
  ServerName foreman.my.domain
23
  ServerAlias foreman
24
25
  RailsAutoDetect On
26
  DocumentRoot /usr/share/foreman/public
27
  PassengerAppRoot /usr/share/foreman/
28
29
  # Use puppet certificates for SSL
30
31
  SSLEngine On
32
  SSLCertificateFile      /var/lib/puppet/ssl/certs/mycert.pem
33
  SSLCertificateKeyFile   /var/lib/puppet/ssl/private_keys/mykey.pem
34
  SSLCertificateChainFile /var/lib/puppet/ssl/certs/ca.pem
35
  SSLCACertificateFile    /var/lib/puppet/ssl/certs/ca.pem
36
  SSLVerifyClient         optional
37
  SSLOptions              +StdEnvVars
38
  SSLVerifyDepth          3
39
</VirtualHost>
40
</pre>
41
42 1 Corey Osman
h2. Some questions did not get answered by the provision file.
43
44
h2. Provision file is using the wrong installation media server.