Hi
my node is installed by ovirt-node-ng-installer-ovirt-4.2-2018021412.iso, and
I deploy hosted-engine, # hosted-engine --deploy
[ INFO ] changed: [localhost][ INFO ] TASK [Clean /etc/hosts for the engine
VM][ INFO ] changed: [localhost][ INFO ] TASK [Copy /etc/hosts back to the
engine VM][ INFO ] changed: [localhost][ INFO ] TASK [Clean /etc/hosts on the
host][ 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 265,
column 5, but may\nbe elsewhere in the file depending on the exact syntax
problem.\n\nThe offending line appears to be:\n\n tags: [
'skip_ansible_lint' ]\n - name: Clean /etc/hosts on the host\n ^
here\n\nexception type: <class
'ansible.errors.AnsibleUndefinedVariable'>\nexception: list object has no
element 0"}[ ERROR ] Failed to execute stage 'Closing up': Failed executing
ansible-playbook[ INFO ] Stage: Clean up[ INFO ] Cleaning temporary
resources[ INFO ] TASK [Gathering Facts][ INFO ] ok: [localhost][ INFO ]
TASK [Remove local vm dir][ INFO ] changed: [localhost][ INFO ] Generating
answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180409164100.conf'[ INFO
] Stage: Pre-termination[ INFO ] Stage: Termination[ ERROR ] Hosted Engine
deployment failed: please check the logs for the issue, fix accordingly or
re-deploy from scratch. Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180409080454-uts7by.log
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users