I discovered that when I click on build for a host the command below is not launched: ipmitool -I lanplus -H *** -U root -P *** chassis bootdev pxe options=persistent
The incident is obvious, the host reboot on the local disk and no provisioning is launched.
Is there any means to enforce provisioning by modifying something?
Hello, Foreman does not orchestrate any IPMI/BMC command when you provision hosts. You need to configure BMC interface first and then click on a button to change boot order.
In the typical Foreman deployment you want all your host to:
Boot from network
Boot from HDD
You want to keep this order for the whole life of servers, production instances will boot from network and they will fallback to HDD immediately.
For those who have the same issue … I decided to write a script which get information (iDRAC address, hostname, future host IP address) with a CSV file, I retrieve MAC addresses and everyting I need with SNMP (racadm) and finally in regards to PXE Boot, I use ipmitool. For the rest “hammer host create” does the job perfectly.
You can consider this SR as a Feature Request; ipmitool and snmptools (racadm, …) would be nice features in Foreman.