Hi I am using ansible os_image module to upload images to my openstack 
instance

My yml looks like this:

- os_image:
    auth:
      auth_url: "{{auth_url}}"
      username: "{{username}}"
      password: "{{password}}"
      project_name: "{{project_name}}"
    name: "test_image_1" 
    container_format: "{{container_format}}" 
    disk_format: "{{disk_format}}" 
    state: "{{state}}" 
    filename: 
"/home/qa/images/build/amd64/develop/apu/cdrom-FreeBSD-11.1-stable-20170908-64bit-5.3.1.1712210800-develop_apu.qcow2"
    properties: 
      cpu_arch: x86_64
      distro: freebsd

and my auth endpoint is : http://10.2.1.183:5000/v3

However then executed, the following exception is triggered:
An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: keystoneauth1.exceptions.http.BadRequest: Expecting to 
find domain in project. The server could not comply with the request since 
it is either malformed or otherwise incorrect. The client is assumed to be 
in error. (HTTP 400)

Is this a compatibility issue with keystone v3? and how do I mitigate it?

Thanks in advance 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/db2aab3a-2ddc-4853-b267-f218741d20b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to