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

Ambari deployment fails due to the odpi-ambari-mpack version mismatch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0, 3.0.1
    • deployment
    • None

    Description

      Ambari smoke test is failing with the following error on our CI (e.g., https://ci.bigtop.apache.org/job/Bigtop-3.0.1-smoke-tests/COMPONENTS=ambari.bigtop-utils@ambari,OS=centos-7-aarch64-deploy/5/console):

      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Trying to download /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz to /var/lib/ambari-server/data/tmp/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz with python lib [urllib2].
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ERROR: Download /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz with python lib [urllib2] failed with error: (<type 'exceptions.ValueError'>, ValueError('unknown url type: /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz',), <traceback object at 0xffff87bfbb90>)
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Trying to download /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz to /var/lib/ambari-server/data/tmp/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz with [curl] command.
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: about to run command: curl --fail -k -o /var/lib/ambari-server/data/tmp/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: 
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: process_pid=4340
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ERROR: Download file /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz with [curl] command failed with error: curl: (3) <url> malformed
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: 
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ERROR: Unable to download file /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz!
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ERROR: unable to donwload file /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz!
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ERROR: Management pack could not be downloaded!
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ERROR: Exiting with exit code -1. 
      Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: REASON: Management pack could not be downloaded!
      Error: /bin/bash -c 'echo yes | /usr/sbin/ambari-server install-mpack --purge --verbose --mpack=/var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz' returned 255 instead of one of [0]
      Error: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: change from notrun to 0 failed: /bin/bash -c 'echo yes | /usr/sbin/ambari-server install-mpack --purge --verbose --mpack=/var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz' returned 255 instead of one of [0]
      

      This is because we aligned the version of the Ambari components in BIGTOP-3649. The file name should be "odpi-ambari-mpack-2.7.5.0.0.tar.gz" now.

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            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 - 0.5h
                0.5h