Restarting environment causes GUI to lose its mind

Bug #1098591 reported by Nicholas Boettcher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Fix Released
High
Madison Scott-Clary

Bug Description

Every 15 minutes, http://uistage.jujucharms.com:8080/ restarts its environment. When that happens, the GUI reconnects...and loses its mind in various ways. As of this writing, all relation lines are dropped, and Nick and Matt have reported other symptoms.

I believe they are all related to the fact that the GUI should clear all its state when it reconnects, and then do a redraw. I've seen some of the code that is supposed to handle this, so it still exists, but it doesn't appear to be doing what we want.

Related branches

Revision history for this message
Nicholas Boettcher (notrebene) wrote :
Revision history for this message
Gary Poster (gary) wrote :

Assuming that this is on uistage, it might also be affected by the fact that the environment is restarted every 15 minutes. I'm going to mark this as incomplete, since we don't know how to dupe this and we are not even sure if it is a "real" bug. If we can figure out how to dupe, or if it affects other non-demo users, we can triage it.

Changed in juju-gui:
status: New → Incomplete
Revision history for this message
Madison Scott-Clary (makyo) wrote :

Partial reproduction, see attached.

Changed in juju-gui:
assignee: nobody → Matthew Scott (makyo)
Gary Poster (gary)
Changed in juju-gui:
status: Incomplete → Triaged
importance: Undecided → High
Gary Poster (gary)
summary: - Incorrect graph rendering
+ Restarting environment causes GUI to lose its mind
description: updated
Changed in juju-gui:
milestone: none → 0.1.5
status: Triaged → In Progress
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

its easy to reproduce.. just start an stop improve.

previous behavior on a reconnect was to drop the client side db and resync..

Changed in juju-gui:
status: In Progress → Fix Released
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.