Why do some openstack API commands randomly time out and fail?

Solution Verified - Updated -

Issue

  • Openstack API commands are randomly timing out with different error messages. One example is given below.
$ nova list
ERROR (ConnectionRefused): Unable to establish connection to http://192.168.1.1:35357/v2.0/tokens
  • This can cause various Openstack tasks, especially when the system is overloaded, to randomly fail like creation of network, instance, volumes, heat templates, etc. The error messages can be different in different situations and depends on which API is accessed.

  • This happens when HA controllers are used and MariaDB database is accessed by various openstack API services through a VIP under haproxy.

Environment

  • Red Hat Enterprise Linux Openstack Platform 5.
  • Red Hat Enterprise Linux Openstack Platform 6.
  • Red Hat Enterprise Linux Openstack Platform 7.

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