While querying ConfigObject logs, not seeing all the available message-types during that perid

Bug #1546972 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Raj Reddy

Bug Description

R3.0 2713 Ubuntu 14.04 Kilo

In a 12hr window, if i query the ConfigObjectTable , i saw ~3K rows with majorly "VncApiStatsLog" message type and about 30 "VncApiConfigLog" message-type.

But in the UI, if want to view only the VncApiConfigLog message-type using the "Where" condition, it only lists VncApiStatsLog as an option in the combo box, but the VncApiConfigLog option is not shown at all.

root@katrina-vm:/opt/contrail/utils# contrail-logs --last 12h --object-type config --message-type VncApiConfigLog | wc -l
30
root@katrina-vm:/opt/contrail/utils# contrail-logs --last 12h --object-type config --message-type VncApiStatsLog | wc -l
3445
root@katrina-vm:/opt/contrail/utils#

Tags: analytics ui
Revision history for this message
Raj Reddy (rajreddy) wrote :

Vedu,

It may be an issue with the backend.
Can you verify using the contrail-stats, if the messagetypes are registered in cassandra as below.. [UI uses the same]

root@a6s45:/etc/contrail# contrail-stats --table FieldNames.fields --select name fields.value --where name='ConfigObjectTable:Messagetype' --last 12h
{"start_time": "now-12h", "sort_fields": [], "end_time": "now", "select_fields": ["name", "fields.value"], "table": "StatTable.FieldNames.fields", "where": [[{"suffix": null, "value2": null, "name": "name", "value": "ConfigObjectTable:Messagetype", "op": 1}]]}
{u'name': u'ConfigObjectTable:Messagetype', u'fields.value': u'VncApiStatsLog'}
{u'name': u'ConfigObjectTable:Messagetype', u'fields.value': u'VncApiConfigLog'}

Changed in juniperopenstack:
assignee: Rahul (rahuls) → Raj Reddy (rajreddy)
Revision history for this message
Raj Reddy (rajreddy) wrote :

there were a few issues wrt writing into Cassandra, which are since fixed. please check w/ latest and reopen this one.

Changed in juniperopenstack:
status: New → Fix Committed
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.