contrail-analytics-api in (UvePartitions:UVE-Aggregation connection down)

Bug #1720546 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Ignatious Johnson Christopher
R3.2.3.x
Invalid
High
Ignatious Johnson Christopher
R4.0
Fix Committed
High
Ignatious Johnson Christopher
R4.1
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

3.2.6.0-52 kilo and mitaka

contrail-analytics-api initializing (UvePartitions:UVE-Aggregation[Partitions:0] connection down)

09/30/2017 12:00:16 AM [contrail-analytics-api]: redis-uve failed Error 111 connecting 10.10.0.5:6379. Connection refused. for key ObjectCollectorInfo:__NONE__: (u'10.10.0.5', 6379, 27449) tb Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/opserver/uveserver.py", line 240, in get_uve
    pperes = ppe.execute()
  File "/usr/lib/python2.7/dist-packages/redis/client.py", line 2000, in execute
    return execute(conn, stack, raise_on_error)
  File "/usr/lib/python2.7/dist-packages/redis/client.py", line 1869, in _execute_transaction
    connection.send_packed_command(all_cmds)
  File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 292, in send_packed_command
    self.connect()
  File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 235, in connect
    raise ConnectionError(self._error_message(e))
ConnectionError: Error 111 connecting 10.10.0.5:6379. Connection refused.

logs uploaded to /cs-shared/bugs/

Tags: analytics
wenqing liang (wliang)
summary: - contrail-analytics-api in (UvePartitions:UVE-Aggregation[Partitions:0]
- connection down)
+ contrail-analytics-api in (UvePartitions:UVE-Aggregation connection
+ down)
Revision history for this message
Nitish Krishna Kaveri (nitishk) wrote :

In API log this traceback is seen even after changing the hc_max_miss value to 7:

Traceback (most recent call last):
  File "/usr/bin/contrail-api", line 9, in <module>
    load_entry_point('vnc-cfg-api-server==0.1dev', 'console_scripts', 'contrail-api')()
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 3805, in server_main
    main(args_str, VncApiServer(args_str))
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1560, in __init__
    if project['quota']:
KeyError: ‘quota'

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

Review in progress for https://review.opencontrail.org/36165
Submitter: Ignatious Johnson Christopher (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/36165
Committed: http://github.com/Juniper/contrail-controller/commit/4c8364722eccdcab39abbd17ec7ac866bccfc5f2
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 4c8364722eccdcab39abbd17ec7ac866bccfc5f2
Author: Ignatious Johnson Christopher <email address hidden>
Date: Mon Oct 2 12:04:02 2017 -0700

Check of the qouta in the project before

intitializing the quota counter.

Closes-Bug: 1720546

Change-Id: Ic366d9701cdfd72b55db76c4f5c1f98bb0f79d2d

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

In R3.2.3.x Quota changes are not ported, so this bug is invalid for R3.2.3.x branch

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :
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.