# mysql error causes openstack deployment to fail

**URL:** <https://forum.ansible.com/t/mysql-error-causes-openstack-deployment-to-fail/13137>\
**Category:** Ansible Project\
**Created:** [July 16, 2013, 4:12pm UTC](https://forum.ansible.com/t/mysql-error-causes-openstack-deployment-to-fail/13137 "2013-07-16T16:12:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Aldridge](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@Michael\_Aldridge](https://forum.ansible.com/u/Michael_Aldridge)\
**Post date:** [July 16, 2013, 4:12pm UTC](https://forum.ansible.com/t/mysql-error-causes-openstack-deployment-to-fail/13137/1 "2013-07-16T16:12:45Z")

</div>

I have been trying to deploy openstack using the scripts provided during the webinar from a few days ago. The install fails at the same place, every time. Below is the section that fails:

> TASK: [create the external network] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> fatal: [cloud-controller] =\> failed to parse: /root/.ansible/tmp/ansible-1373991065.17-51641315664934/quantum\_network:120: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6  
> module.fail\_json(msg = “Error authenticating to the keystone: %s” %e.message)  
> {“msg”: “Error authenticating to the keystone: Authorization Failed: Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user ‘keystone’@‘localhost’ (using password: NO)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500)”, “failed”: true}
> 
> FATAL: all hosts have already failed – aborting
> 
> PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
> to retry, use: --limit @/var/tmp/ansible/site.retry
> 
> cloud-compute : ok=15 changed=3 unreachable=0 failed=0  
> cloud-controller : ok=48 changed=8 unreachable=1 failed=0

I have tried logging into the database as keystone:keystone and that fails as well. Any help would be greatly appreciated here.
