Hi,
Have installed 1.4.2 on a network that does not have internet access. I'm
now trying to provision a client. Not exactly sure how to setup local
installation media on the foreman server.
I believe I have configured everything needed up to a point, and can:
- run a working TFTP proxy
- run a working DHCP proxy
- PXEboot the target successfully
When it comes kickstart, the process finds the token ok but then dies with
an "Unable to retrieve http://insert-IPaddr-here…/images/install.img" and
http logs indicate permission denied:
192.168.5.10 - - [30/Apr/2014:12:37:13 -0400] "GET
/unattended/provision?token=595aa06e-a11a-4859-9fa6-447a486d2cb1 HTTP/1.1"
200 3395 "-" "anaconda/13.21.176"
192.168.5.10 - - [30/Apr/2014:12:37:28 -0400] "GET
/rhels6.3/x86_64/images/updates.img HTTP/1.1" 403 236 "-"
"anaconda/13.21.176"
192.168.5.10 - - [30/Apr/2014:12:37:28 -0400] "GET
/rhels6.3/x86_64/images/product.img HTTP/1.1" 403 236 "-"
"anaconda/13.21.176"
192.168.5.10 - - [30/Apr/2014:12:37:28 -0400] "GET
/rhels6.3/x86_64/images/install.img HTTP/1.1" 403 236 "-"
"anaconda/13.21.176"
The IPaddr of my proxy is 192.168.5.10. DocumentRoot in 05-foreman.conf
and 05-foreman-ssl.conf are the default values (/usr/share/foreman/public)
and my mounted 6.3 ISO is simlinked there. I've also simlinked it under
/var/www/html.
I'm not a Ruby speaker and have searched through the foreman doc and this
group for clues but have found nothing that leads me to a EUREKA moment.
Any advice is welcome,
birch
The log's recording "403" errors which mean forbidden access. I'd check
the httpd/Apache error log as this should record the reason.
If you're symlinking, you probably need to ensure the owner of the
symlink (probably root) and the target directory are one and the same,
because we set SymLinksIfOwnerMatch in 05-foreman*.conf by default. If
you can't do that, then set the FollowSymlinks option too.
···
On 30/04/14 18:25, g birch wrote:
> Hi,
>
> Have installed 1.4.2 on a network that does not have internet access.
> I'm now trying to provision a client. Not exactly sure how to setup
> local installation media on the foreman server.
>
> I believe I have configured everything needed up to a point, and can:
> 1. run a working TFTP proxy
> 2. run a working DHCP proxy
> 3. PXEboot the target successfully
>
> When it comes kickstart, the process finds the token ok but then dies
> with an "Unable to retrieve
> http://insert-IPaddr-here.../images/install.img" and http logs indicate
> permission denied:
>
> 192.168.5.10 - - [30/Apr/2014:12:37:13 -0400] "GET
> /unattended/provision?token=595aa06e-a11a-4859-9fa6-447a486d2cb1
> HTTP/1.1" 200 3395 "-" "anaconda/13.21.176"
> 192.168.5.10 - - [30/Apr/2014:12:37:28 -0400] "GET
> /rhels6.3/x86_64/images/updates.img HTTP/1.1" 403 236 "-"
> "anaconda/13.21.176"
> 192.168.5.10 - - [30/Apr/2014:12:37:28 -0400] "GET
> /rhels6.3/x86_64/images/product.img HTTP/1.1" 403 236 "-"
> "anaconda/13.21.176"
> 192.168.5.10 - - [30/Apr/2014:12:37:28 -0400] "GET
> /rhels6.3/x86_64/images/install.img HTTP/1.1" 403 236 "-"
> "anaconda/13.21.176"
>
> The IPaddr of my proxy is 192.168.5.10. DocumentRoot in 05-foreman.conf
> and 05-foreman-ssl.conf are the default values
> (/usr/share/foreman/public) and my mounted 6.3 ISO is simlinked there.
> I've also simlinked it under /var/www/html.
–
Dominic Cleal
Red Hat Engineering