Hi,I am new to ansible and tring to deploy an ovrt cluster with gluster. I am following this documentation https://www.ovirt.org/blog/2018/02/up-and- , although the screenshots are not exactly the same. Gluster successfully deployed.running-with-ovirt-4-2-and- gluster-storage/ Below is what is insatlled on my OvirtNodes:1. ansible --versionansible 2.5.3config file = /etc/ansible/ansible.cfg2. glusterfs 3.12.93. oVirtNode 4.2.34. CentOS Linux release 7.4.1708 (Core)During the hosted engine setup it throws the ERROR below:[ INFO ] TASK [Prepare CIDR for "virbr0"][ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'ipv4'\n\nThe error appears to have been in '/usr/share/ovirt-hosted-engine-setup/ansible/ bootstrap_local_vm.yml': line 50, column 7, 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: Prepare CIDR for \"{{ virbr_default }}\"\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - \"{{ foo }}\"\n"} [ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
I have tried to use quotes on line 50 in the bootstrap_local_vm.yml file, it didn't work.Please help, I have been stuck on this almost the whole day.
--Regards,Sakhi HadebeEngineer: South African National Research Network (SANReN)Competency Area, Meraka, CSIR Tel: +27 12 841 2308 Fax: +27 12 841 4223 Cell: +27 71 331 9622 Email: sakhi@sanren.ac.za
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org