Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3552

Add missing files to ambari-agent RPM

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      Files under /usr/lib/ambari-agent should be contained in the ambari-agent RPM.

      Error: /Stage[main]/Ambari::Agent/Service[ambari-agent]/ensure: change from 'stopped' to 'running' failed: Systemd start for ambari-agent failed!
      journalctl log for ambari-agent:
      -- Logs begin at Mon 2021-06-07 12:29:19 UTC, end at Mon 2021-06-07 12:40:30 UTC. --
      Jun 07 12:40:28 015cbca2d23c systemd[1]: Starting LSB: ambari-agent daemon...
      Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Verifying Python version compatibility...
      Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Using python  /usr/bin/python2
      Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Checking for previously running Ambari Agent...
      Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Checking ambari-common dir...
      Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Starting ambari-agent
      Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: Verifying ambari-agent process status...
      Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out:
      Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: ====================
      Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: /usr/bin/python2: can't open file '/usr/lib/ambari-agent/lib/ambari_agent/AmbariAgent.py': [Errno 2] No such file or directory
      Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: ====================
      

      Attachments

        Issue Links

          Activity

            People

              iwasakims Masatake Iwasaki
              iwasakims Masatake Iwasaki
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h
                  1h