Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
None
Description
BIGTOP-2729 seemed to change the tarball name for ODPi mpack from odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz to odpi-ambari-mpack-1.0.0.0-SNAPSHOT-odpi-ambari-mpack.tar.gz, so now deploying ambari via puppet fails with the following error:
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Using python /usr/bin/python Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Installing management pack Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Loading properties from /etc/ambari-server/conf/ambari.properties Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Installing management pack /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: Loading properties from /etc/ambari-server/conf/ambari.properties Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Download management pack to temp location /var/lib/ambari-server/data/tmp/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Downloading /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 Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Traceback (most recent call last): Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/sbin/ambari-server.py", line 941, in <module> Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: mainBody() Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/sbin/ambari-server.py", line 911, in mainBody Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: main(options, args, parser) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/sbin/ambari-server.py", line 863, in main Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: action_obj.execute() Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/sbin/ambari-server.py", line 78, in execute Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: self.fn(*self.args, **self.kwargs) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 861, in install_mpack Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: (mpack_metadata, mpack_name, mpack_version, mpack_staging_dir, mpack_archive_path) = _install_mpack(options, replay_mode) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 690, in _install_mpack Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: tmp_archive_path = download_mpack(mpack_path) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 140, in download_mpack 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 1 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 1 instead of one of [0] Warning: /Stage[main]/Ambari::Server/Exec[server setup]: Skipping because of failed dependencies Warning: /Stage[main]/Ambari::Server/Service[ambari-server]: Skipping because of failed dependencies Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: download_file(mpack_path, tmp_archive_path) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 58, in download_file Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: force_download_file(link, destination, chunk_size, progress_func = progress_func) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 126, in force_download_file Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: response = urllib2.urlopen(request) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: return opener.open(url, data, timeout) Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.7/urllib2.py", line 421, in open Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: protocol = req.get_type() Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: File "/usr/lib/python2.7/urllib2.py", line 283, in get_type Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: raise ValueError, "unknown url type: %s" % self.__original Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ValueError: unknown url type: /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz
Attachments
Issue Links
- links to