Ansible Ovir Problem

15 views
Skip to first unread message

Jibsan Joel Rosa Toirac

unread,
Jun 17, 2019, 3:37:18 PM6/17/19
to Ansible Project
Hi every one I have a problem. I'm trying to use Ansible to create Ovirt VMs, but the problem is that The role let me make the Auth, but at the time to create de VM gives me an error:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: The text '2008-03-31T17:00:00.000' isn't a valid date value
fatal: [192.168.14.159]: FAILED! => {"changed": false, "msg": "The text '2008-03-31T17:00:00.000' isn't a valid date value"}

I need help with this.

Jonathan Lozada De La Matta

unread,
Jun 17, 2019, 4:04:51 PM6/17/19
to ansible...@googlegroups.com
can you provide the tasks?

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c818658a-4537-46bd-b28f-37167f514911%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan Cha'gara Lozada De La Matta

He / Him / His

Automation Practice

Senior Automation Consultant & Automation CoP Manager

Red Hat


 

Jibsan Joel Rosa Toirac

unread,
Jun 17, 2019, 4:10:11 PM6/17/19
to Ansible Project
---
- name: Obtain SSO token with using username/password credentials
  ovirt_auth:
    username: admin@internal
    password: scorpionsrm
    ca_file: /etc/pki/ovirt-engine/ca.pem

- name: Create and run VM from template
  ovirt_vms:
    auth: "{{ ovirt_auth }}"
    name: Test
    template: Blank
    use_latest_template_version: true
    timezone: America/New_York
    cluster: Default
    memory: 1GiB
    cpu_cores: 2
    cpu_sockets: 2
    operating_system: debian_7

El lunes, 17 de junio de 2019, 16:04:51 (UTC-4), Jonathan Lozada De La Matta escribió:
can you provide the tasks?

On Mon, Jun 17, 2019 at 3:37 PM Jibsan Joel Rosa Toirac <jibs...@gmail.com> wrote:
Hi every one I have a problem. I'm trying to use Ansible to create Ovirt VMs, but the problem is that The role let me make the Auth, but at the time to create de VM gives me an error:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: The text '2008-03-31T17:00:00.000' isn't a valid date value
fatal: [192.168.14.159]: FAILED! => {"changed": false, "msg": "The text '2008-03-31T17:00:00.000' isn't a valid date value"}

I need help with this.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.

Jonathan Lozada De La Matta

unread,
Jun 17, 2019, 4:13:18 PM6/17/19
to ansible...@googlegroups.com
what ansible version are you using?

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.

To post to this group, send email to ansible...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jibsan Joel Rosa Toirac

unread,
Jun 18, 2019, 12:02:28 PM6/18/19
to Ansible Project

Jonathan Lozada De La Matta

unread,
Jun 18, 2019, 12:12:05 PM6/18/19
to ansible...@googlegroups.com
the error says The text '2008-03-31T17:00:00.000' isn't a valid date value"}



To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.

To post to this group, send email to ansible...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages