Why do some openstack API commands randomly time out and fail?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
