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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content