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

Want to help support this blog? Try out Oh Dear, the best all-in-one monitoring tool for your entire website, co-founded by me (the guy that wrote this blogpost). Start with a 10-day trial, no strings attached.

We offer uptime monitoring, SSL checks, broken links checking, performance & cronjob monitoring, branded status pages & so much more. Try us out today!

Profile image of Mattias Geniar

Mattias Geniar, June 26, 2012

Follow me on Twitter as @mattiasgeniar

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.



Want to subscribe to the cron.weekly newsletter?

I write a weekly-ish newsletter on Linux, open source & webdevelopment called cron.weekly.

It features the latest news, guides & tutorials and new open source projects. You can sign up via email below.

No spam. Just some good, practical Linux & open source content.