If master node fails over, horizon session broken in browser

Bug #1286089 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Undecided
Fuel Library (Deprecated)

Bug Description

This may be a Horizon bug or it may be how our implementation works.

How to reproduce:
1 - Deploy HA ubuntu (any network and storage type)
2 - Log into horizon
3 - crm_resource -r vip__management_old --move --node (any other node than current master)
4 - Refresh horizon or try to log in again

Result:
504 Gateway Time-out
The server didn't respond in time.

Tags: library
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Revision history for this message
Ryan Moe (rmoe) wrote :

I believe it's 100% related to that bug. Dmitry and I ran into this repeatedly when working on 1285449. It appears that other services don't handle the VIP changing gracefully. This isn't related to rabbit either as we only saw this once we changed all services to talk to rabbit directly. When this issue occurs you can see that sometimes CLI commands fail to return results.

For example "nova list" will return a 504 (only sometimes though) and looking in the logs you can see that the Nova client makes an API call to the Neutron client which never succeeds. Nova is configured to talk to Neutron over the VIP. All services talk to Keystone this way as well. We saw issues where restarting Keystone on a node fixed all CLI commands and subsequently Horizon too.

Revision history for this message
Sergey Vasilenko (xenolog) wrote :

may be it's happens because Horizon store his session in memcache.
When controller was dead part of memcache servers go out.

Revision history for this message
Ryan Moe (rmoe) wrote :

It's not just Horizon that breaks though. All CLI commands stop working too.

Changed in fuel:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.