Ask Your Question

devstack fails to connect to MySQL server

asked 2014-06-27 10:41:00 -0500

andi gravatar image

updated 2014-06-27 16:20:04 -0500

smaffulli gravatar image

I am trying to get started with OpenStack by using devstack. Currently, devstack seems broken.

Here is what I'm doing:

  1. Bring up a new ubuntu 12.04 OS:

    vagrant init hashicorp/precise64 vagrant up vagrant reload

(I do the last step in case guest additions were updated.)

  1. Log in and Setup devstack:

    vagrant ssh sudo apt-get update sudo apt-get install git git clone cd devstack ./

This fails. The ./ output is enormous. It ends with

+++ nova flavor-list
ERROR (ConnectionError): HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2/191228efe8a649d29ad5a7e823f63a15/flavors/detail (Caused by <class 'socket.error'>: [Errno 111] Connection refused)

Scrolling up a bit earlier, I see stuff like this:

++ openstack endpoint show -f value -c publicurl ec2
ERROR: Authorization Failed: An unexpected error prevented the server from fulfilling your request. (OperationalError) (2003, "Can't connect to MySQL server on '' (111)") None None (Disable debug mode to suppress these details.) (HTTP 500)

Any ideas what is going wrong? Did I miss a step?

FWIW, info about the OS that vagrant creates:

$ cat /etc/lsb-release 
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-27 16:19:22 -0500

smaffulli gravatar image

It seems that devstack failed at installing and configuring MySQL properly. Try to understand why that happened, maybe try again and edit the question to add more details.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-06-27 10:41:00 -0500

Seen: 1,288 times

Last updated: Jun 27 '14