Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-264

Traffic Monitor Proxy should not be part of default parameter

    XMLWordPrintableJSON

Details

    Description

      During Traffic Portal integration, the API could not reach Traffic Ops. Found out during debugging session that the `tm.traffic_mon_fwd_proxy` parameter was defined as orphaned variable and was actually being used.

      Few things :

      1 - This parameter is set at install as an orphan.
      2 - This parameter is used even if not assigned to the GLOBAL profile
      3 - The code is silent about the proxy not being reachable
      4 - The documentation doesn't mention that parameter and which component uses it.

      I would suggest the following :

      1 - Removed from default parameter install AND/OR 2)
      2 - Add in the code that the profile "GLOBAL" needs assigned. Variable not assigned to a profile should not be used.
      3 - Add logging to Traffic Ops (DEBUG at least) showing a proxy is being used and show the failed proxy requests
      4 - Mention that profile parameter in the documentation

      Attachments

        Issue Links

          Activity

            People

              dewrich Dewayne Richardson
              smalenfant Steve Malenfant
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: