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

Host check shows no errors when registering non root agents manually

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: ambari-server
    • Labels:
      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.

      1. AMBARI-12810.patch
        2 kB
        Dmitry Lysnichenko

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #392 (See https://builds.apache.org/job/Ambari-branch-2.1/392/)
          AMBARI-12810 Host check shows no errors when registering non root agents manually (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=59831814829e4bb280157e124f551e11885e2b6d)

          • ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #392 (See https://builds.apache.org/job/Ambari-branch-2.1/392/ ) AMBARI-12810  Host check shows no errors when registering non root agents manually (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=59831814829e4bb280157e124f551e11885e2b6d ) ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3293 (See https://builds.apache.org/job/Ambari-trunk-Commit/3293/)
          AMBARI-12810 Host check shows no errors when registering non root agents manually (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8abab3106ee86083beb7804fa56b53d5ff5bed46)

          • ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3293 (See https://builds.apache.org/job/Ambari-trunk-Commit/3293/ ) AMBARI-12810  Host check shows no errors when registering non root agents manually (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8abab3106ee86083beb7804fa56b53d5ff5bed46 ) ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
          Hide
          dmitriusan Dmitry Lysnichenko added a comment -

          Committed to trunk and to branch-2.1

          Show
          dmitriusan Dmitry Lysnichenko added a comment - Committed to trunk and to branch-2.1

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development