Ask Your Question
0

After Reboot: Can't connect to MySQL server

asked 2013-10-29 04:40:49 -0500

htorbov gravatar image

I installed OpenStack on Ubuntu 12.04 successfully.

The problem is that when I reboot the server, OpenStack services can't connect to MySQL immediately: http://pastebin.com/PZ7ixqCf

After a few minutes (obviously when MySQL loads) I type (for example): service nova-network start and it starts without a problem.

Does anyone have any idea how to fix that? Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-10-29 06:06:09 -0500

htorbov gravatar image

The solution was to change (or add) the maximum retries in the /etc/nova/nova.conf file:

--sql_max_retries=-1

Note: -1 means infinity

edit flag offensive delete link more

Comments

I tried, and also this solution doesn't work. I am using VMs for one compute node and controller node. Once I powered off the machine, this problem raised...

Yasmin Fathy gravatar imageYasmin Fathy ( 2014-01-17 03:54:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-10-29 04:40:49 -0500

Seen: 400 times

Last updated: Oct 29 '13