On Thu, Jan 17, 2019, 6:40 PM Jason P. Thomas <jthomasp@gmualumni.org wrote:
rgolan asked me to post this here for him.

I'm trying the procedure from this blog post:
https://ovirt.org/blog/2019/01/ovirt-openshift-part-1.html

Ultimate goal is to install ovirt metrics store.  I've tried vars.yaml
with and without the ovirt metrics stuff commented out.

The errors seem to revolve around downloading the centos qcow2c image. 
With image_path: "{{ lookup('env', 'HOME') }}/Downloads/{{ template_name
}}.qcow2"
defined, I get the following error:
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with
an undefined variable. The error was: 'dict object' has no attribute
'isdir'\n\nThe error appears to have been in
'/usr/share/ansible/roles/ovirt.image-template/tasks/qcow2_image.yml':
line 12, column 3, but may\nbe elsewhere in the file depending on the
exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name:
Download the qcow image\n  ^ here\n"}

If I comment out the above image_path line and uncomment the one at the
bottom of vars.yaml that specifies /var/tmp, I get this error:

Can you try just /tmp ?



fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/file
/var/tmp/CentOS-7-x86_64-GenericCloud.qcow2c", "msg": "[Errno 2] No such
file or directory", "rc": 2}

--Jason
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4XGZ47K2Q7MI2C6S3DC3RJU6IHGOSFG/