Build 2739: contrail-alarm-gen failed to come up on one of the analytics nodes

Bug #1600201 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Sundaresan Rajangam

Bug Description

== Contrail Analytics ==
supervisor-analytics: active
contrail-alarm-gen failed
contrail-analytics-api active
contrail-analytics-nodemgr active
contrail-collector active
contrail-query-engine active
contrail-snmp-collector active
contrail-topology active

contrail-alarm-gen-stdout.log

ImportError: No module named amqp.exceptions
Traceback (most recent call last):
  File "/usr/bin/contrail-alarm-gen", line 9, in <module>
    load_entry_point('opserver==0.1dev', 'console_scripts', 'contrail-alarm-gen')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 47, in <module>
    from alarmgen_config_handler import AlarmGenConfigHandler
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen_config_handler.py", line 12, in <module>
    from config_handler import ConfigHandler
  File "/usr/lib/python2.7/dist-packages/opserver/config_handler.py", line 10, in <module>
    from cfgm_common.vnc_kombu import VncKombuClient
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_kombu.py", line 5, in <module>
    import amqp.exceptions
ImportError: No module named amqp.exceptions

Setup:
env.roledefs = {
    'all': [host1, host2, host3,host4],
    'cfgm': [host1],
    'webui': [host1],
    'openstack': [host1],
    'control': [host1, host2, host3],
    'collector': [host1, host2, host3],
    'database': [host1,host2,host3],
    'compute': [host4, host3],
    'build': [host_build]
}

env.hostnames = {
    'all': ['nodeg13', 'nodeg20', 'nodea21', 'nodeh3']

Tags: analytics
Raj Reddy (rajreddy)
Changed in juniperopenstack:
assignee: Raj Reddy (rajreddy) → Sundaresan Rajangam (srajanga)
importance: Undecided → Medium
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/21757
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/21757
Committed: http://github.org/Juniper/contrail-packages/commit/5a17aa08d59fbbdcfc04e497e955e85c8447d2f8
Submitter: Zuul
Branch: master

commit 5a17aa08d59fbbdcfc04e497e955e85c8447d2f8
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Jul 8 11:15:06 2016 -0700

Analytics requires python-amqp package

Change-Id: Iea6ff36d2e7dfbd67efe32fde27b18cd155eb578
Closes-Bug: #1600201

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.