Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1786

Pcap Topology Status Incorrect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Labels:
      None

      Description

      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.

      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'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                MohanDV Mohan
                Reporter:
                nickwallen Nick Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: