analytics:contrail-flows command not working

Bug #1688525 reported by aswani kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Megh Bhatt
Trunk
Fix Committed
High
Megh Bhatt

Bug Description

mainline build 3068 multinode mitaka

contrail-flows command not returning any output ,tried following commands

root@nodem14(analytics):/# contrail-flows --direction ingress --start-time now-30m --end-time now --protocol 1 --source-ip 222.211.12.3 --source-vn default-domain:ctest-Analytics
TestSanityWithResource-07413187:ctest-vn1-83189071 --source-port 1370

root@nodem14(analytics):/# contrail-flows --vmi-uuid 3af9ad4d-5078-46b6-86b6-f92ea92df59e --last 20m

root@nodem14(analytics):/# contrail-flows --other-vrouter-ip 10.10.10.8 --vrouter-ip 10.10.10.8 --start-time now-10m --end-time now

description: updated
description: updated
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
Nikhil Bansal (nikhilb-u) wrote :

This could be due to flag disable_sending_flows_ being set to true in sandesh client. Please check if there are SendingDisabled errors in agent.

Revision history for this message
Sundaresan Rajangam (srajanga) wrote :

By default, flow_export_rate is set to 0. So, agent doesn't send any flow samples to the contrail-collector. Please set the "Flow Export Rate" thru UI [Configure > Infrastructure > Global Config > Forwarding Options]

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31436
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31438
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/31438
Committed: http://github.com/Juniper/contrail-controller/commit/7e8fb4a3566423bbdd5face4606fb5f7035aea3c
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 7e8fb4a3566423bbdd5face4606fb5f7035aea3c
Author: Megh Bhatt <email address hidden>
Date: Thu May 11 16:15:17 2017 -0700

Add provision_global_vrouter_config.py script for flow_export_rate

Add ability to configure flow_export_rate in global vrouter
config so that system test can use it via provisioning

Change-Id: I39193744151f636d3ac6ea6b6bc09e750c0d4447
Partial-Bug: #1688525

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

Reviewed: https://review.opencontrail.org/31436
Committed: http://github.com/Juniper/contrail-controller/commit/b32f0a035db9fab716403494da29db440fbf9ad4
Submitter: Zuul (<email address hidden>)
Branch: master

commit b32f0a035db9fab716403494da29db440fbf9ad4
Author: Megh Bhatt <email address hidden>
Date: Thu May 11 16:15:17 2017 -0700

Add provision_global_vrouter_config.py script for flow_export_rate

Add ability to configure flow_export_rate in global vrouter
config so that system test can use it via provisioning

Change-Id: I39193744151f636d3ac6ea6b6bc09e750c0d4447
Partial-Bug: #1688525

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31619
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/31776
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31777
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/31778
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31782
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31783
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/31619
Committed: http://github.com/Juniper/contrail-ansible-internal/commit/4dd0e7b3d1c2447a4e265a8e12bef12a2149fdd4
Submitter: Zuul (<email address hidden>)
Branch: master

commit 4dd0e7b3d1c2447a4e265a8e12bef12a2149fdd4
Author: Megh Bhatt <email address hidden>
Date: Mon May 15 17:56:44 2017 -0700

Allow configuration of flow_export_rate in global vrouter config

Execute provision_global_vrouter_config.py if flow_export_rate is
defined

Closes-Bug #1688525

Change-Id: I7e20dd4553a5e41835d3075fae004aa94bb8cdcc

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31776
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31777
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31782
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31783
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/31777
Committed: http://github.com/Juniper/contrail-docker/commit/d87e3c008283c54c5e4aa4998a229612773b4c53
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit d87e3c008283c54c5e4aa4998a229612773b4c53
Author: Megh Bhatt <email address hidden>
Date: Wed May 17 22:06:02 2017 -0700

Add flow_export_rate in controller JSON schema

1. Add flow_export_rate in controller conf JSON schema
2. Added support for integer type parsing in JSON schema

Change-Id: I14820b8c42ee4bb5cc5dd53bcf277f79634d4365
Closes-Bug: #1688525

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

Reviewed: https://review.opencontrail.org/31783
Committed: http://github.com/Juniper/contrail-server-manager/commit/9aa7a7ae749f2b03b673c69c29f4e16debe91f92
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 9aa7a7ae749f2b03b673c69c29f4e16debe91f92
Author: Megh Bhatt <email address hidden>
Date: Wed May 17 23:12:53 2017 -0700

Add flow_export_rate to contrail4 JSON

Change-Id: I84cdb178771405151204574d449e6405aa3fdae4
Partial-Bug: #1688525

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

Reviewed: https://review.opencontrail.org/31776
Committed: http://github.com/Juniper/contrail-docker/commit/5968b633700de775a33aa9f36052734298328bba
Submitter: Zuul (<email address hidden>)
Branch: master

commit 5968b633700de775a33aa9f36052734298328bba
Author: Megh Bhatt <email address hidden>
Date: Wed May 17 22:06:02 2017 -0700

Add flow_export_rate in controller JSON schema

1. Add flow_export_rate in controller conf JSON schema
2. Added support for integer type parsing in JSON schema

Change-Id: I14820b8c42ee4bb5cc5dd53bcf277f79634d4365
Closes-Bug: #1688525

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

Reviewed: https://review.opencontrail.org/31778
Committed: http://github.com/Juniper/contrail-ansible-internal/commit/7c48337c16fbe256fd2d5e88b6c2fb9ca5096345
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 7c48337c16fbe256fd2d5e88b6c2fb9ca5096345
Author: Megh Bhatt <email address hidden>
Date: Mon May 15 17:56:44 2017 -0700

Allow configuration of flow_export_rate in global vrouter config

Execute provision_global_vrouter_config.py if flow_export_rate is
defined

Closes-Bug #1688525

Change-Id: I7e20dd4553a5e41835d3075fae004aa94bb8cdcc

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

Reviewed: https://review.opencontrail.org/31782
Committed: http://github.com/Juniper/contrail-server-manager/commit/01ae4c8c0f42c5bd7c3605a97c0b9e935a6d3cf6
Submitter: Zuul (<email address hidden>)
Branch: master

commit 01ae4c8c0f42c5bd7c3605a97c0b9e935a6d3cf6
Author: Megh Bhatt <email address hidden>
Date: Wed May 17 23:12:53 2017 -0700

Add flow_export_rate to contrail4 JSON

Change-Id: I84cdb178771405151204574d449e6405aa3fdae4
Partial-Bug: #1688525

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31952
Submitter: Yuvaraja Mariappan

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31953
Submitter: Yuvaraja Mariappan

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

Reviewed: https://review.opencontrail.org/31952
Committed: http://github.com/Juniper/contrail-docker/commit/1f116265489a21a53ff002cfef47537705fec924
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 1f116265489a21a53ff002cfef47537705fec924
Author: Yuvaraja Mariappan <email address hidden>
Date: Mon May 22 00:27:59 2017 -0700

Revert "Add flow_export_rate in controller JSON schema"

This reverts commit d87e3c008283c54c5e4aa4998a229612773b4c53.
bug 1688525 has to be solved seperately.

Change-Id: Ib5901c212d1a599af7a0cafacf2ec7cf60e8f030
Closes-bug: #1692357

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

Reviewed: https://review.opencontrail.org/31953
Committed: http://github.com/Juniper/contrail-docker/commit/5a685d477f0172b15d9a3fd71760abc599b81e4f
Submitter: Zuul (<email address hidden>)
Branch: master

commit 5a685d477f0172b15d9a3fd71760abc599b81e4f
Author: Yuvaraja Mariappan <email address hidden>
Date: Mon May 22 00:27:59 2017 -0700

Revert "Add flow_export_rate in controller JSON schema"

This reverts commit d87e3c008283c54c5e4aa4998a229612773b4c53.
bug 1688525 has to be solved seperately.

Change-Id: Ib5901c212d1a599af7a0cafacf2ec7cf60e8f030
Closes-bug: #1692357

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.