Nick Allen created METRON-1786:
----------------------------------
Summary: Pcap Topology Status Incorrect
Key: METRON-1786
URL: https://issues.apache.org/jira/browse/METRON-1786
Project: Metron
Issue Type: Improvement
Reporter: Nick Allen
After running for some period of time, the pcap topology status in Ambari goes
to "red" indicating that it is not running, when it actually is running. The
following exception is thrown in the Ambari Agent logs.
{code:java}
INFO 2018-09-20 16:48:08,199 PythonReflectiveExecutor.py:67 - Reflective
command failed with exception:
Traceback (most recent call last):
File
"/usr/lib/python2.6/site-packages/ambari_agent/PythonReflectiveExecutor.py",
line 59, in run_file
imp.load_source('__main__', script)
File
"/var/lib/ambari-agent/cache/common-services/METRON/0.6.0/package/scripts/pcap_master.py",
line 105, in <module>
Pcap().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 375, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/METRON/0.6.0/package/scripts/pcap_master.py",
line 93, in status
commands = PcapCommands(status_params)
File
"/var/lib/ambari-agent/cache/common-services/METRON/0.6.0/package/scripts/pcap_commands.py",
line 51, in __init__
self.__pcap_topology = params.metron_pcap_topology
AttributeError: 'module' object has no attribute 'metron_pcap_topology'{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)