Hello,
I followed this documentation to configure autostart VMs which were in run state before a reboot of the host. After a reboot test of one host, it’s seems it doesn’t work
I don’t know what I forgot, autostart-host.tmpl and autostart-vm.tmpl are exactly the same than example in the doc above, I added AUTOSTART attribute in each host with “yes” value.
The command onehook list displays my 2 hooks, onehost show 1 returns me
In the result of that command you will be able to see a one-lined XML showing the result of each hook execution. The fields <STDOUT>....</STDOUT> and <STDERR>.....</STDERR> are the stdout and the stderr of the hook execution, encoded in base64.
For instance, if you can see that for some execution the <STDERR> field has contents (in this case, the SW50...A== string), you can execute the following and will return you the error that the hook had while it was executed