the process is following:
- make-image-vdsmnode
- boot node with PXE in diskless mode
- run format script
- run copy script
- correct network
- install grub.
- reboot to boot mode with local disk PXE mode.
If all this done then try to add new host into cluster.
You will get an error on ovirt-engine interface:
Duplicate host UUID.
In ovirt-engine.log you may see:
2014-04-03 10:44:28,439 WARN [org.ovirt.engine.core.bll.AddVdsCommand] (ajp--127.0.0.1-8702-13) [6385bd93] CanDoAction of action AddVds failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__HOST,$server nodeserv1.cls,ACTION_TYPE_FAILED_VDS_WITH_SAME_UUID_EXIST
To fix the issue: remove
/etc/vdsm/vdsm.id from the cloned host:
/etc/vdsm/vdsm.id