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