Description of problem:
Nova novnc console fails to load 2/3 requests in an HA environment with 3 controllers. The issue seems pretty much the same as the one reported in BZ#1238336
Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-2.0.0-8.el7ost.noarch
How reproducible:
100%
Steps to Reproduce:
1. Deploy overcloud
2. Log in to Horizon
3. Access instance console
Actual results:
2/3 times you get the following message:
Failed to connect to server (code: 1006)
Expected results:
The noVNC console always gets loaded.
Additional info:
The memcached servers are set in nova.conf:
[root@overcloud-controller-0 heat-admin]# grep memcached_servers /etc/nova/nova.conf
# "memcached_servers" opt is deprecated in Mitaka. In Newton release oslo.cache
#memcached_servers=<None>
#memcached_servers=<None>
memcached_servers=10.0.0.15:11211,10.0.0.14:11211,10.0.0.13:11211
In Mitaka the memcached_servers option got deprecated:
http://docs.openstack.org/releasenotes/nova/mitaka.html
I tried the following workaround on master and it fixed the issue for me:
On controller nodes in /etc/nova/nova.conf add this cache section:
[cache]
backend = oslo_cache.memcache_pool
enabled = true
memcache_servers = 10.0.0.15:11211,10.0.0.14:11211,10.0.0.13:11211
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHEA-2016-1599.html