Hi Simone,

 

Sorry for late response, I’ve been unwell.  Attached is the whole log you requested.  I hope it reveals why variable “local_vm_ip.stdout_lines” is not being populated.

 

Many thanks,

Brendan

 

From: Simone Tiraboschi <stirabos@redhat.com>
Sent: 15 October 2018 04:49

On Sun, Oct 14, 2018 at 6:08 AM Brendan Holmes <me@brendanh.com> wrote:

Hi Simone,

[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 0\n\nThe error appears to have been in '/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 396, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n    changed_when: True\n  - name: Clean /etc/hosts on the host\n    ^ here\n"}

 

I think that this is just an error in the clean up on failures phase due to something bad before.

Can you please attach the whole deployment log from /var/log/ovirt-hosted-engine/hosted-engine.log ?