Puppet + Razor: pxe boot failing to load with ‘Operating system not found’

It’s early software, but I like it. A lot. Give or a take a few minor issues with the recent commits in Razor , the software is running fairly stable. Alas, after playing with it for some time, I ran into the following error.

iPXE 1.0.0+ – Open Source Network Boot Firmware

http://192.168.59.2:8026/razor/api/boot?mac=00%3A50… Connection reset

Could not boot http://192.168.59.2:8026/razor/api/boot?mac=00%3A50… Connection reset

Operating system not found

In a VM, it looks like this.

The current version of Razor does not start upon boot, so if you reboot your Razor server, the Razor daemon is not running and booting VMs will produce that error.

# /opt/razor/bin/razor_daemon.rb status
razor_daemon: no instances running
# /opt/razor/bin/razor_daemon.rb start
# /opt/razor/bin/razor_daemon.rb status
razor_daemon: running [pid 25956]

After that, PXE booting servers will be able to contact the Razor Daemon and should be able to boot up just fine.