Build 2696: Alarms: NameError: global name 'AnyOf' is not defined

Bug #1533111 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Invalid
Undecided
Anish Mehta

Bug Description

Seeing the below exception in contrail-alarm-gen.log:

01/12/2016 12:36:03 PM [contrail-alarm-gen]: Exception NameError in Alarm Processing. Arguments:
("global name 'AnyOf' is not defined",) : traceback Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 191, in process_alarms
    or_list = ext.obj.__call__(uv, local_uve)
  File "/usr/lib/python2.7/dist-packages/alarm_address_mismatch/main.py", line 84, in __call__
    and_list.append(AnyOf(any_of=[AlarmElement(\
NameError: global name 'AnyOf' is not defined

01/12/2016 12:36:52 PM [contrail-alarm-gen]: Exception NameError in Alarm Processing. Arguments:
("global name 'AnyOf' is not defined",) : traceback Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 191, in process_alarms
    or_list = ext.obj.__call__(uv, local_uve)
  File "/usr/lib/python2.7/dist-packages/alarm_address_mismatch/main.py", line 84, in __call__
    and_list.append(AnyOf(any_of=[AlarmElement(\
NameError: global name 'AnyOf' is not defined

01/12/2016 12:37:02 PM [contrail-alarm-gen]: Exception NameError in Alarm Processing. Arguments:
("global name 'AnyOf' is not defined",) : traceback Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 191, in process_alarms
    or_list = ext.obj.__call__(uv, local_uve)
  File "/usr/lib/python2.7/dist-packages/alarm_address_mismatch/main.py", line 84, in __call__
    and_list.append(AnyOf(any_of=[AlarmElement(\
NameError: global name 'AnyOf' is not defined

01/12/2016 12:37:45 PM [contrail-alarm-gen]: Exception NameError in Alarm Processing. Arguments:
("global name 'AnyOf' is not defined",) : traceback Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/opserver/alarmgen.py", line 191, in process_alarms
    or_list = ext.obj.__call__(uv, local_uve)
  File "/usr/lib/python2.7/dist-packages/alarm_address_mismatch/main.py", line 84, in __call__
    and_list.append(AnyOf(any_of=[AlarmElement(\
NameError: global name 'AnyOf' is not defined

Logs copied @ bhushana@mayamruga:~/Documents/technical/bugs/(bug-id)
username : bhushana
pass: bhu@123

Ankit Jain (ankitja)
Changed in juniperopenstack:
milestone: none → r3.0-fcs
Revision history for this message
Anish Mehta (amehta00) 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.