# Ansible integration openstack gives 400  error

**URL:** <https://forum.ansible.com/t/ansible-integration-openstack-gives-400-error/23931>\
**Category:** Ansible Project\
**Created:** [March 10, 2017, 5:24pm UTC](https://forum.ansible.com/t/ansible-integration-openstack-gives-400-error/23931 "2017-03-10T17:24:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![balubhai555](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@balubhai555](https://forum.ansible.com/u/balubhai555)\
**Post date:** [March 10, 2017, 5:24pm UTC](https://forum.ansible.com/t/ansible-integration-openstack-gives-400-error/23931/1 "2017-03-10T17:24:48Z")

</div>

Hello Team,

Ansible integrates with OpenStack instance creation gave 400 error. I didn’t understand what is happening here. I have installed openstack along with all python based dependencies. I am using CentOS VM. I have admin-opensource.sh and all the required environment variables set fine.

The error is below. Please help me to resolve the errors.

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-37e3f0b2-955c-4845-bd31-08dd7e24dcc9))”}

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![balubhai555](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@balubhai555](https://forum.ansible.com/u/balubhai555)\
**Post date:** [April 27, 2017, 8:25pm UTC](https://forum.ansible.com/t/ansible-integration-openstack-gives-400-error/23931/2 "2017-04-27T20:25:09Z")

</div>

> Yes, Error Resolved.

I didn’t put the openstack controller IP address into **/etc/hosts** file.  
After put the IP the Openstack instance created well.
