Failed to fetch kickstart for CentOS 8 install

Problem:
New installation - Foreman 2.1 on CentOS 7 - to provision CentOS 8 clients
After PXE boot I get a 404 on the kickstart file and send up in a single user prompt

Expected outcome:
CentOS 8 VM and bare metal provisioning

Foreman and Proxy versions:
Foreman 2.1.1

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:
“GET /unattended/provision?token=1227c343-a8dc-4bf9-9639-04f8ee90b5e4 HTTP/1.1” 404 71 “-” “curl/7.61.1”

from the console (and file /run/intramfs/rdsosreport.txt)
curl: (22) The requested URL returned error: 404 Not Found
Warning: anaconda: failed to fetch kickstart from http://foreman7.demo.com/unattended/provision?token=

pxelinux.cfg file for this VM:

# This file was deployed via 'Kickstart default PXELinux' template
DEFAULT menu
MENU TITLE Booting into OS installer (ESC to stop)
TIMEOUT 100
ONTIMEOUT installer

LABEL installer
  MENU LABEL Kickstart default PXELinux
  KERNEL boot/centos-8-VwA8T7doolWP-vmlinuz
  APPEND initrd=boot/centos-8-VwA8T7doolWP-initrd.img ks=http://foreman7.demo.com/unattended/provision?token=1f39d8d2-56a0-4b
97-b726-23af5c1e73b9  BOOTIF=00-00-50-56-80-a1-db kssendmac ks.sendmac inst.ks.sendmac ip=dhcp nameserver=192.168.33.10 names
erver=192.168.33.12
  IPAPPEND 2

Foreman returns 404 when either the host was deleted or the token expired. Set longer expiration time.

Solved.
My web server giving these files was “wanky”. A reboot solved.

1 Like

PLEASE help me . How to solve this problem ? I need your help ! Thank you