I also encountered the same problem. test environment passed, I found wrong use it again.
try other endpoint ,like this ,it's OK <https://lh3.googleusercontent.com/-tBLVThk3iEg/Wk2DDM6d0lI/AAAAAAAAAB0/ZP2zPiz4ckMER9wMZRWx53ruHfBk6VJ8QCLcBGAs/s1600/%25E5%25BE%25AE%25E4%25BF%25A1%25E5%259B%25BE%25E7%2589%2587_20180104092716.png> 在 2017年12月21日星期四 UTC+8下午12:39:13,Gu Hang写道: > > 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e7bfcdc4-582a-4a6d-bf6d-2042736c9bbf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.