Network topology normal/small buttons does not work correct

Bug #1504171 reported by Paul Karikh
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Medium
MOS Horizon
6.1.x
Fix Released
Medium
Paul Karikh
7.0.x
Invalid
Medium
Unassigned
8.0.x
Invalid
Medium
MOS Horizon

Bug Description

"Small"/"Normal" buttons at the "Network Topology" page do not work correctly: sometimes button switches to active state after few seconds, sometimes small and normal buttons both became active at the same time. Their other functionality works fine.
Distro: MOS 6.1.

Paul Karikh (pkarikh)
description: updated
tags: added: horizon
Timur Sufiev (tsufiev-x)
tags: added: customer-found
Changed in mos:
importance: Undecided → Medium
Paul Karikh (pkarikh)
Changed in mos:
milestone: none → 6.1-updates
Revision history for this message
Paul Karikh (pkarikh) wrote :

My first guess that problem should be somewhere in horizon/static/horizon/js/horizon.networktopology.js file, where `toggleView ` class is being used.

Revision history for this message
AntonioK (rc5hack) wrote :

It seems, that reproducibility of this bug depends on bandwith (latency?) of connection between Horizon and client: I could only reproduce it connecting to Horizon from Internet via VPN, but could't when I deal with Horizon on my local gigabit network.

Looks like some race condition in client-side JS or so on.

tags: added: support
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Network Topology view was completely rewritten in Liberty, there is no more 'Normal'/'Small' buttons there.

Paul Karikh (pkarikh)
Changed in mos:
assignee: nobody → Paul Karikh (pkarikh)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: Paul Karikh <email address hidden>
Review: https://review.fuel-infra.org/12821

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/12821
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: e12c21e49eae49007ded76a6167357d1dd1ef8e6
Author: Paul Karikh <email address hidden>
Date: Wed Oct 14 10:44:18 2015

Fixes toggle network topology view buttons

Network topology normal/small switching
'active' state without removing 'active'
state from other button.
Also there is a long lag between clicking
on button and switching its state.
This patch fixes both problems.

Change-Id: Ide5a8b787385c42c90becc359dda289fb9b69019
Closes-Bug: #1504171

Revision history for this message
Vadim Rovachev (vrovachev) wrote :

Verified on 6.1.

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.