EIO reported in "Flows Summary" when selecting a port from Port Map of a virtual network

Bug #1774364 reported by Anda-Maria Nicolae
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
mkheni
R5.0
Fix Committed
High
mkheni
Trunk
Fix Committed
High
mkheni

Bug Description

Hi all,

I have a setup of 3 VMs: one OpenStack node, one Contrail controller node and 1 Contrail compute node.
All 3 VMs use RedHat 7.4. The 3 VMs run on an CentOS7 server.
I have installed Contrail R5.0 on my setup using contrail-ansible-deployer/.

I have created 2 virtual networks, named vn1 and vn2. From OpenStack, I have booted 2 virtual machines inside vn1 virtual network.
From Monitor -> Networking -> Networks, I have selected vn1. From Port Map tab associated to vn1, I have clicked on a port. A "Flows Summary" table has appeared.
However, inside this table it is shows: EIO.

Using Chrome debugger, I looked over the HTTP requests that were made. I've noticed that at HTTP POST request sent at:
https://<Contrail_Controller_IP>:8143/api/qe/query
was received 500 Internal Error

Thanks,
Anda

Tags: analytics
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
tags: added: config
Revision history for this message
Abhay Joshi (abhayj) wrote :

Hi Abhay, for bug https://bugs.launchpad.net/juniperopenstack/+bug/1774364, it's clearly an analytics bug. The UI try to do a query on the opserver to construct a flow summary, and query API return a 500 internal server error.

tags: added: analytics
removed: config
Revision history for this message
Sundaresan Rajangam (srajanga) wrote :

Please provide the following info:

o/p of contrail-status
o/p of top from analyticsdb container
Please provide query-engine, collector and cassandra logs

If you have the setup in the same state, can you please share the setup?

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

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

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

Review in progress for https://review.opencontrail.org/44977
Submitter: mkheni (<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/44976
Submitter: mkheni (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/44977
Submitter: mkheni (<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/44976
Submitter: mkheni (<email address hidden>)

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

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

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

Review in progress for https://review.opencontrail.org/45023
Submitter: mkheni (<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/44976
Submitter: mkheni (<email address hidden>)

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

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

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

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

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

Reviewed: https://review.opencontrail.org/44977
Committed: http://github.com/Juniper/contrail-analytics/commit/a666e73204f39253ae6e0e4e884eac2d6da7424b
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit a666e73204f39253ae6e0e4e884eac2d6da7424b
Author: mkheni <email address hidden>
Date: Thu Jul 26 14:55:14 2018 -0700

Fix <field>=* prifix queries in QueryEngine

Sometimes <field>=* prefix queries translate to <field> LIKE '%'
where condition in cassandra. Cassandra doesn't allow such where
clauses and returns error. If QE receives such where clause, ignore
it as it effectively translate to no where condition.

Added systemless test to verify the behavior

Change-Id: I893d3036fd22ce399186f4cc67812de2fa46701c
Closes-bug: #1774364

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

Reviewed: https://review.opencontrail.org/44976
Committed: http://github.com/Juniper/contrail-analytics/commit/0a2d02e12cf4c3b274b32307d11e3f8b51170622
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 0a2d02e12cf4c3b274b32307d11e3f8b51170622
Author: mkheni <email address hidden>
Date: Thu Jul 26 14:55:14 2018 -0700

Fix <field>=* prifix queries in QueryEngine

Sometimes <field>=* prefix queries translate to <field> LIKE '%'
where condition in cassandra. Cassandra doesn't allow such where
clauses and returns error. If QE receives such where clause, ignore
it as it effectively translate to no where condition.

Added systemless test to verify the behavior

Change-Id: I893d3036fd22ce399186f4cc67812de2fa46701c
Closes-bug: #1774364

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

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

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

Reviewed: https://review.opencontrail.org/45023
Committed: http://github.com/Juniper/contrail-controller/commit/7688544c43d1a981e2f72d91ddce0227c99146e2
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 7688544c43d1a981e2f72d91ddce0227c99146e2
Author: mkheni <email address hidden>
Date: Fri Jul 27 12:33:31 2018 -0700

Fix <field>=* prefix queries in QueryEngine

Sometimes <field>=* prefix queries translate to <field> LIKE '%'
where condition in cassandra. Cassandra doesn't allow such where
clauses and returns error. If QE receives such where clause, ignore
it as it effectively translate to no where condition.

Added systemless test to verify the behavior

Change-Id: I893d3036fd22ce399186f4cc67812de2fa46701c
Closes-bug: #1774364

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.