OpenStack services produce a large number of database connection errors: OperationalError: (OperationalError) (2013, "Lost connection to MySQL server at 'reading initial communication packet', system error: 0") None None

Solution Verified - Updated -

Issue

  • In a High Availability Red Hat OpenStack environment when a highly available MySQL database using Galera experiences failover the services dependant on the MySQL database produce large numbers of database connection errors observable in OpenStack's services logs. This can cause dependant service specific errors due to not being able to establish connection to the ha database.

Environment

  • Highly Available Red Hat OpenStack 5.0
  • Highly Available Red Hat OpenStack 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In