
On Mon, 25 Dec 2017 14:14:36 +0200 Dan Kenigsberg <danken@redhat.com> wrote:
On Mon, Dec 25, 2017 at 2:09 PM, Dominik Holler <dholler@redhat.com> wrote:
A helpful hint is in
http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/4492/artifact/... : Caused by: org.jboss.resteasy.spi.ReaderException: org.codehaus.jackson.map.JsonMappingException: Can not construct instance of java.util.Calendar from String value '2017-12-27 13:19:51Z': not a valid representation (error: Can not parse date "2017-12-27 13:19:51Z": not compatible with any of standard forms ("yyyy-MM-dd'T'HH:mm:ss.SSSZ", "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", "EEE, dd MMM yyyy HH:mm:ss zzz", "yyyy-MM-dd")) at [Source: org.jboss.resteasy.client.core.BaseClientResponse$InputStreamWrapper@72c184c5; line: 1, column: 23] (through reference chain: com.woorea.openstack.keystone.model.Access["token"]->com.woorea.openstack.keystone.model.Token["expires"])
This problem was introduced by https://gerrit.ovirt.org/#/c/85702/
I created a fix: https://gerrit.ovirt.org/85734
Thanks for the quick fix.
Is the new format accpetable to other users of the keystone-like API (such at the neutron cli)?
Yes, I verified ovirt-engine via webadmin, and neutron CLI and ansible on command line: [user@fedora-25-gui ovirt-system-tests]$ cat createNetwok.yml --- - hosts: localhost tasks: - os_network: auth: auth_url: http://0.0.0.0:35357/v2.0 username: admin@internal password: 123456 state: present name: myNewAnsibleNet [user@fedora-25-gui ovirt-system-tests]$ ansible-playbook createNetwok.yml [WARNING]: Could not match supplied host pattern, ignoring: all [WARNING]: provided hosts list is empty, only localhost is available PLAY [localhost] *************************************************************************************** TASK [Gathering Facts] ********************************************************************************* ok: [localhost] TASK [os_network] ************************************************************************************** changed: [localhost] PLAY RECAP ********************************************************************************************* localhost : ok=2 changed=1 unreachable=0 failed=0 [user@fedora-25-gui ovirt-system-tests]$ ansible-playbook createNetwok.yml [WARNING]: Could not match supplied host pattern, ignoring: all [WARNING]: provided hosts list is empty, only localhost is available PLAY [localhost] *************************************************************************************** TASK [Gathering Facts] ********************************************************************************* ok: [localhost] TASK [os_network] ************************************************************************************** ok: [localhost] PLAY RECAP ********************************************************************************************* localhost : ok=2 changed=0 unreachable=0 failed=0 [user@fedora-25-gui ovirt-system-tests]$ OS_USERNAME=admin@internal OS_PASSWORD=123456 OS_AUTH_URL=http://0.0.0.0:35357/v2.0 neutron net-list Failed to discover available identity versions when contacting http://0.0.0.0:35357/v2.0. Attempting to parse version from URL. +--------------------------------------+-----------------+ | id | name | +--------------------------------------+-----------------+ | 97b653b0-623e-4b5d-a7a0-e05c6d95fdf2 | ansibleNet2 | | e1f36f9b-bfb2-4779-880f-d8b8f8d9c64a | myNewAnsibleNet | | 31172fec-1d6e-42eb-acb4-ab5bf77a1296 | osnet | | 05e680b8-544a-4278-9ac0-403fb5e83af2 | test.json | | 60f74925-adb9-4ae2-9751-2a3f1315bd2e | net877 | | 18687d84-0923-4e1a-b349-4030c6f9c11e | net111 | | c20b5484-dde1-4729-bae4-5f073c3e14ef | net1114 | | ddd9741b-6874-4075-abba-615fb1777b62 | ansibleNet | | 2b913120-260f-4750-9fc2-c0e44f3d51e9 | net11149 | | a3db332f-5b2b-478c-a90e-73ee5fbee3ce | net412 | +--------------------------------------+-----------------+