iaas: more error handling when creating machine