Build 2715: UI Underlay-> Trace flow-> VM: Traceflow broekn

Bug #1550407 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Won't Fix
Critical
asbalaji
Trunk
Fix Committed
Critical
asbalaji

Bug Description

Below is what I was seeing when tried to do trace flows ( both virtual machine/ vrouter tabs )
---------------------------
Trace Flows
Virtual Router Virtual Machine
Virtual Machine
Last 10 minute flows of Virtual Machine (analyzer3)
ICMP
-
-
-/undefined
ICMP
-
-
-/undefined

---------------------------
Just protocol was being shown, remaining things were missing from the flow entry shown in the UI

When I executed "Trace flow" It worked Please check the screenshot

Map flows tab shows them but not trace flows page

Map flows page was able to show these:

    Map Flows
    Trace Flows

Query Flow Records
Flows
nodeh7 (40.40.10.6)
nodeh6 (40.41.1.5)
ICMP
vn1 (admin)
10.1.1.9
1375
INGRESS
vn2 (admin)
20.1.1.7
0
257.25 KB/2688
nodei4 (40.40.40.5)
nodeh6 (40.41.1.5)
ICMP
vn1 (admin)
10.1.1.9
9822
INGRESS
vn2 (admin)
20.1.1.10
0
88.24 KB/922

also checked, flows are also present in the syestem:

TCP(r=reverse):S=SYN, F=FIN, R=RST, C=HalfClose, E=Established, D=Dead

    Index Source:Port/Destination:Port Proto(V)
-----------------------------------------------------------------------------------
     7420<=>491180 10.1.1.9:8097 17 (3)
                         10.1.1.8:8099
(Gen: 2, K(nh):20, Action:F, Flags:, S(nh):20, Stats:0/0, SPort 60607)

   277692<=>478564 10.1.1.9:1375 1 (3)
                         20.1.1.7:0
(Gen: 92, K(nh):20, Action:F, Flags:, S(nh):20, Stats:2222/217756, SPort 53149)

   362680<=>373820 20.1.1.10:9822 1 (3)
                         10.1.1.9:0
(Gen: 1, K(nh):20, Action:F, Flags:, S(nh):34, Stats:456/38304, SPort 55032)

   373820<=>362680 10.1.1.9:9822 1 (3)
                         20.1.1.10:0
(Gen: 1, K(nh):20, Action:F, Flags:, S(nh):20, Stats:456/44688, SPort 54487)

   478564<=>277692 20.1.1.7:1375 1 (3)
                         10.1.1.9:0
(Gen: 92, K(nh):20, Action:F, Flags:, S(nh):36, Stats:2222/186648, SPort 64614)

   491180<=>7420 10.1.1.8:8099 17 (3)
                         10.1.1.9:8097
(Gen: 2, K(nh):20, Action:F, Flags:, S(nh):34, Stats:2312/393040, SPort 60419)

root@nodeh6:~#

Tags: ui underlay
Revision history for this message
Ankit Jain (ankitja) wrote :
Rahul (rahuls)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → VishnuVardhan V (vishnuvv)
Revision history for this message
VishnuVardhan V (vishnuvv) wrote :

Hi Ankit,

Please provide basic steps to reproduce or browse debugger log, any clue to trace the issue.

Looks like some scenario is there, we are displaying the selected VM in grid title, but as per the screenshot selected VM in dropdown

and the grid title is mismatching (analyzer 3 in grid title and in dropdown vn2-vm-3).

Rahul (rahuls)
tags: removed: blocker
Rahul (rahuls)
Changed in juniperopenstack:
assignee: VishnuVardhan V (vishnuvv) → asbalaji (asbalaji)
Changed in juniperopenstack:
importance: Undecided → Critical
milestone: r3.0-fcs → none
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19670
Submitter: asbalaji (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/19669
Submitter: asbalaji (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/19670
Submitter: asbalaji (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19670
Committed: http://github.org/Juniper/contrail-web-controller/commit/76c0174a9437d33f2878fc10369deffbbb425e3e
Submitter: Zuul
Branch: master

commit 76c0174a9437d33f2878fc10369deffbbb425e3e
Author: Balaji Kumar AS <email address hidden>
Date: Wed Apr 27 16:28:11 2016 +0530

Changing existing underlay code to suit VisNodeModel, VisEdgeModel, VisTooltipModel, ContrailVisView.

Parse response to categorize the nodes.
Create VisNodeModels, VisEdgeModels, VisTooltipModels
Form Node/Edges collection based on models specified above, in UnderlayGraphModels.
Use Image instead of ICONs to represent node.
Create proper view tree.

Change-Id: Iac15282fc4d07dee1453d35016550554f3229037
Partial-Bug:#1575591
Closes-Bug: #1557441
Closes-Bug: #1557869
Closes-Bug: #1554501
Closes-Bug: #1554495
Closes-Bug: #1550407
Closes-Bug: #1550255
Closes-Bug: #1546052

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/19669
Committed: http://github.org/Juniper/contrail-web-core/commit/e5319f240e7d320a0e66dd7a08d81242064e682e
Submitter: Zuul
Branch: master

commit e5319f240e7d320a0e66dd7a08d81242064e682e
Author: Balaji Kumar AS <email address hidden>
Date: Wed Apr 27 16:11:10 2016 +0530

Modularizing existing code such as to have VisNodeModel, VisEdgeModel, VisTooltipModel, ContrailVisView.

Feature developers planning to use VisJS may use
ContrailVisView - Wrapper for VisJS Network module.
VisNodeModel - represents VisJS Node.
VisEdgeModel - represents VisJS Edge.
VisTooltipModel - Creates 'popover' tooltip on hovering VisNodeModel.

Change-Id: I3decfbad5859b570470ba4d7747f16466fbcda69
Partial-Bug:#1575591
Closes-Bug: #1557441
Closes-Bug: #1557869
Closes-Bug: #1554501
Closes-Bug: #1554495
Closes-Bug: #1550407
Closes-Bug: #1550255
Closes-Bug: #1546052

Revision history for this message
asbalaji (asbalaji) wrote :

Issue fixed in Trunk.

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.