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-running-with-ovirt-4-2-and-gluster-storage/, although the screenshots are not exactly the same. Gluster successfully deployed.
Below is what is insatlled on my OvirtNodes: 1. ansible --version ansible 2.5.3 config file = /etc/ansible/ansible.cfg 2. glusterfs 3.12.9 3. oVirtNode 4.2.3 4. 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 Hadebe Engineer: South African National Research Network (SANReN)Competency Area, Meraka, CSIR Tel: +27 12 841 2308 <+27128414213> Fax: +27 12 841 4223 <+27128414223> Cell: +27 71 331 9622 <+27823034657> Email: sa...@sanren.ac.za <shad...@csir.co.za>
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org