Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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.