I am requesting that can anyone please responds to this problem?
*Thank you.*
On Friday, March 10, 2017 at 7:08:49 PM UTC+5:30, balubhai555 wrote:
>
> Hello Team,
>
>
> I got 400 error. While integrating Ansible with OpenStack. I could not
> understand what the error is. Please help me and correct my Playbook to
> rectify the error.
>
> Error:
>
> *fatal: [localhost]: FAILED! => {"changed": false, "extra_data": null,
> "failed": true, "msg": "Error fetching server list on envvars:RegionOne:
> (Inner Exception: 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) (Request-ID:
> req-fba6a8d8-05f9-4c28-9b7b-1923b12fa60e))"}*
>
> The Playbook is below:
>
>
> # automatically assigns a floating IP
>
> - name: launch a compute instance
>
> hosts: all
>
> sudo: yes
>
> tasks:
>
> - name: echo PATH into bashrc
>
> action: lineinfile dest=~/.bash_profile line='export
> user_domain_name=default' insertafter='EOF' regexp='export
> user_domain_name.*' state=present
>
> - name: launch an instance
>
> os_server:
>
> state: present
>
> auth:
>
> auth_url: http://192.168.8.25:5000/v3/
>
> username: admin
>
> password: MiracleIT
>
> project_name: admin
>
> name: vm1
>
> region_name: RegionOne
>
> availability_zone: nova
>
> image: 34d91b63-ffa5-4601-b3cf-e04deaac8dec
>
> key_name: centostestkeypair1
>
> timeout: 200
>
> flavor: m1.medium
>
> security_groups: default
>
> auto_ip: yes
>
> ------
>
> Please help me.
>
> Thank you.
>
--
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/577c47a7-f63d-445c-b31d-ef0be7919236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.