Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24560

Better debugging for agent start failure due to stuck fuser call

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None

      Description

      While debugging with we encountered an issue where call to `fuser 8670/tcp` it got blocked for minutes

      • in fact we did not ever see the agent start and had to comment the call. Two
        improvements:
      • Need timeout for such calls (lets also research and see why the call may get stuck). We checked that the port was free.
      • Need more debug logging in the initial start up path to help debug what command is getting stuck - in main.py, and PingPortListener.py lets see if more debug logging can be added

        Attachments

        1. AMBARI-24560.patch
          1 kB
          Andrew Onischuk

          Issue Links

            Activity

              People

              • Assignee:
                aonishuk Andrew Onischuk
                Reporter:
                aonishuk Andrew Onischuk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m