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

Host check shows no errors when registering non root agents manually

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.2
    • ambari-server
    • None

    Description

      Setup ambari-agents running under non root user. (ambari-server is also non-root, not sure if this is required to reproduce)
      Register agents manually.
      Deploy cluster.
      Stop all services.
      ambari-server reset -s.
      ambari-server setup -s;
      Perform manual hosts registration 'Perform manual registration on hosts and do not use SSH'
      Look at the hosts checks results. No warnings shown except THP.
      Check /var/lib/ambari-agent/data/hostcheck.result
      It contains warnings for users and folders, but not for installed packages.

      This failure affects HostCleanup.py which uses hostcheck.result files to remove packages, but file does not list any packages.

      Attachments

        1. AMBARI-12810.patch
          2 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: