[Openstack] [ironic] Error: Can't connect to MySql server on 127.0.0.1

Peeyush Gupta gpeeyush at linux.vnet.ibm.com
Mon Nov 10 08:33:53 UTC 2014


Hi all,

I have ironic devstack setup running on a VM with public IP. Now, I want
to try out the same setup on a private network. So, I copied the VM
image and port it to a host in the private network. Now, this private
network doesn't have an internet connection. So, I put OFFLINE=True in
localrc and ran ./stack.sh script. Here is the error I am getting:

2014-11-10 08:26:56.210 | Syncing
/opt/stack/tempest-lib/test-requirements.txt
2014-11-10 08:26:56.210 | Syncing setup.py
2014-11-10 08:26:56.805 | HEAD is now at 26323eb Merge "Remove unused
method and variable in base.py"
2014-11-10 08:26:56.811 | Running in offline mode, clones already exist
2014-11-10 08:26:56.830 | 6a81d4a Merge "Log AttributeError as 'info'
instead of 'exception'"
2014-11-10 08:26:57.003 | Changing password for user "guest" ...
2014-11-10 08:26:57.038 | ...done.
2014-11-10 08:26:57.059 | ERROR 2003 (HY000): Can't connect to MySQL
server on '127.0.0.1' (111)
2014-11-10 08:26:57.062 | Error on exit
2014-11-10 08:26:57.091 | df: '/run/user/1000/gvfs': Permission denied

Googled a lot and tried out at least a hundred ways to fix including
removing and re-installing mysql server! Nothing is working. Did anyone
face the same error? How did you get around it?

Thanks,

-- 
Peeyush Gupta
gpeeyush at linux.vnet.ibm.com





More information about the Openstack mailing list