CSCfi / ansible-role-pxe_bootstrap

Ansible role that install and configures TFTP. It also places iPXE/PXE boot conf files
MIT License
24 stars 4 forks source link

Improve error logging messages in boot.py #8

Closed martbhell closed 8 years ago

martbhell commented 8 years ago

If the host name that the node was requesting was not found in the pxe_nodes.json file then boot.py just writes the hostname to syslog. Would be nice with something more descriptive.

Jul  7 15:04:35 io-install boot.py: 'io'
A1ve5 commented 8 years ago

Soon it will be: Sep 21 11:09:32 io-install.fgci.csc.fi boot.py[1585]: 'io4' hostname wasn't found in /var/www/provision/nodes/pxe_nodes.json