You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/07/29 23:58:30 UTC

Review Request 24072: Ambari deployment, Ganglia installation failed in Ubuntu12

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24072/
-----------------------------------------------------------

Review request for Ambari and Mahadev Konar.


Bugs: AMBARI-6666
    https://issues.apache.org/jira/browse/AMBARI-6666


Repository: ambari


Description
-------

Ganglia installation failed, see error output:

    
    
    
    stderr: 
    2014-07-24 23:54:38,424 - Error while executing command 'install':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 113, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_monitor.py", line 33, in install
        self.install_packages(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 178, in install_packages
        Package(name)
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 40, in action_install
        self.install_package(package_name)
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py", line 35, in install_package
        shell.checked_call(cmd)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 35, in checked_call
        return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 90, in _call
        raise Fail(err_msg)
    Fail: Execution of 'env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install ganglia-webfrontend' returned 100. stdin: is not a tty
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following package was automatically installed and is no longer required:
      openjdk-7-jre-lib
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
      libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
      libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd rrdtool ssl-cert
    Suggested packages:
      apache2-doc apache2-suexec apache2-suexec-custom php-pear libgd-tools
      php5-suhosin librrds-perl openssl-blacklist
    The following NEW packages will be installed:
      apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
      ganglia-webfrontend libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3
      libaprutil1-ldap libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd
      rrdtool ssl-cert
    0 upgraded, 18 newly installed, 0 to remove and 2 not upgraded.
    Need to get 9,687 kB/11.9 MB of archives.
    After this operation, 32.2 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgd2-xpm libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
      apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork apache2
      php5-common libapache2-mod-php5 php5 rrdtool ganglia-webfrontend libt1-5
      php5-cli php5-gd ssl-cert
    Authentication warning overridden.
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-utils amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-common amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-mpm-prefork amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2 amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.13 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5 all 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-cli amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-gd amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-mpm-prefork_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5_5.3.10-1ubuntu3.11_all.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
     stdout:
    2014-07-24 23:54:36,192 - Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf -x "" --retry 10     http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment': ..., 'not_if': 'test -e /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
    2014-07-24 23:54:36,197 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf -x "" --retry 10     http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
    2014-07-24 23:54:36,205 - Repository['HDP-2.1'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.1.3.0', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': 'repo_debian.j2', 'repo_file_name': 'HDP', 'mirror_list': None}
    2014-07-24 23:54:36,210 - File['/tmp/tmp0ysVPA'] {'content': Template('repo_debian.j2')}
    2014-07-24 23:54:36,211 - Writing File['/tmp/tmp0ysVPA'] because contents don't match
    2014-07-24 23:54:36,212 - Repository['HDP-UTILS-1.1.0.18'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.18/repos/ubuntu12', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': 'repo_debian.j2', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
    2014-07-24 23:54:36,213 - File['/tmp/tmpVKsxIS'] {'content': Template('repo_debian.j2')}
    2014-07-24 23:54:36,213 - Writing File['/tmp/tmpVKsxIS'] because contents don't match
    2014-07-24 23:54:36,214 - Package['unzip'] {}
    2014-07-24 23:54:36,235 - Skipping installing existent package unzip
    2014-07-24 23:54:36,236 - Package['curl'] {}
    2014-07-24 23:54:36,255 - Skipping installing existent package curl
    2014-07-24 23:54:36,255 - Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf -x ""   --retry 10 http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz'] {'environment': ..., 'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin', '/usr/bin/']}
    2014-07-24 23:54:36,259 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf -x ""   --retry 10 http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz'] due to not_if
    2014-07-24 23:54:36,259 - Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] {'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin', '/usr/bin/']}
    2014-07-24 23:54:36,264 - Skipping Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] due to not_if
    2014-07-24 23:54:36,265 - Group['hadoop'] {'ignore_failures': False}
    2014-07-24 23:54:36,265 - Modifying group hadoop
    2014-07-24 23:54:36,367 - Group['users'] {'ignore_failures': False}
    2014-07-24 23:54:36,367 - Modifying group users
    2014-07-24 23:54:36,475 - Group['users'] {'ignore_failures': False}
    2014-07-24 23:54:36,476 - Modifying group users
    2014-07-24 23:54:36,592 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
    2014-07-24 23:54:36,593 - Modifying user ambari-qa
    2014-07-24 23:54:36,607 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
    2014-07-24 23:54:36,608 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
    2014-07-24 23:54:36,619 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] due to not_if
    2014-07-24 23:54:36,619 - User['hbase'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
    2014-07-24 23:54:36,620 - Modifying user hbase
    2014-07-24 23:54:36,633 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
    2014-07-24 23:54:36,634 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/1/hadoop/hbase 2>/dev/null'] {'not_if': 'test $(id -u hbase) -gt 1000'}
    2014-07-24 23:54:36,644 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/1/hadoop/hbase 2>/dev/null'] due to not_if
    2014-07-24 23:54:36,645 - Group['nagios'] {'ignore_failures': False}
    2014-07-24 23:54:36,645 - Modifying group nagios
    2014-07-24 23:54:36,759 - User['nagios'] {'gid': 'nagios', 'ignore_failures': False}
    2014-07-24 23:54:36,760 - Modifying user nagios
    2014-07-24 23:54:36,770 - User['oozie'] {'gid': 'hadoop', 'ignore_failures': False}
    2014-07-24 23:54:36,770 - Modifying user oozie
    2014-07-24 23:54:36,781 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False}
    2014-07-24 23:54:36,781 - Modifying user hcat
    2014-07-24 23:54:36,791 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False}
    2014-07-24 23:54:36,792 - Modifying user hcat
    2014-07-24 23:54:36,801 - User['hive'] {'gid': 'hadoop', 'ignore_failures': False}
    2014-07-24 23:54:36,802 - Modifying user hive
    2014-07-24 23:54:36,811 - User['yarn'] {'gid': 'hadoop', 'ignore_failures': False}
    2014-07-24 23:54:36,812 - Modifying user yarn
    2014-07-24 23:54:36,822 - Group['nobody'] {'ignore_failures': False}
    2014-07-24 23:54:36,822 - Modifying group nobody
    2014-07-24 23:54:36,900 - Group['nobody'] {'ignore_failures': False}
    2014-07-24 23:54:36,901 - Modifying group nobody
    2014-07-24 23:54:37,034 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
    2014-07-24 23:54:37,034 - Modifying user nobody
    2014-07-24 23:54:37,047 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
    2014-07-24 23:54:37,047 - Modifying user nobody
    2014-07-24 23:54:37,060 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
    2014-07-24 23:54:37,061 - Modifying user hdfs
    2014-07-24 23:54:37,073 - User['mapred'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
    2014-07-24 23:54:37,073 - Modifying user mapred
    2014-07-24 23:54:37,086 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False}
    2014-07-24 23:54:37,086 - Modifying user zookeeper
    2014-07-24 23:54:37,097 - User['storm'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
    2014-07-24 23:54:37,097 - Modifying user storm
    2014-07-24 23:54:37,110 - User['falcon'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
    2014-07-24 23:54:37,111 - Modifying user falcon
    2014-07-24 23:54:37,124 - User['tez'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
    2014-07-24 23:54:37,124 - Modifying user tez
    2014-07-24 23:54:37,360 - Package['python-rrdtool'] {}
    2014-07-24 23:54:37,384 - Skipping installing existent package python-rrdtool
    2014-07-24 23:54:37,384 - Package['gmetad'] {}
    2014-07-24 23:54:37,408 - Skipping installing existent package gmetad
    2014-07-24 23:54:37,408 - Package['ganglia-webfrontend'] {}
    2014-07-24 23:54:37,431 - Installing package ganglia-webfrontend ('env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install ganglia-webfrontend')
    2014-07-24 23:54:38,424 - Error while executing command 'install':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 113, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_monitor.py", line 33, in install
        self.install_packages(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 178, in install_packages
        Package(name)
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 40, in action_install
        self.install_package(package_name)
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py", line 35, in install_package
        shell.checked_call(cmd)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 35, in checked_call
        return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 90, in _call
        raise Fail(err_msg)
    Fail: Execution of 'env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install ganglia-webfrontend' returned 100. stdin: is not a tty
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following package was automatically installed and is no longer required:
      openjdk-7-jre-lib
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
      libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
      libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd rrdtool ssl-cert
    Suggested packages:
      apache2-doc apache2-suexec apache2-suexec-custom php-pear libgd-tools
      php5-suhosin librrds-perl openssl-blacklist
    The following NEW packages will be installed:
      apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
      ganglia-webfrontend libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3
      libaprutil1-ldap libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd
      rrdtool ssl-cert
    0 upgraded, 18 newly installed, 0 to remove and 2 not upgraded.
    Need to get 9,687 kB/11.9 MB of archives.
    After this operation, 32.2 MB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libgd2-xpm libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
      apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork apache2
      php5-common libapache2-mod-php5 php5 rrdtool ganglia-webfrontend libt1-5
      php5-cli php5-gd ssl-cert
    Authentication warning overridden.
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-utils amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-common amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-mpm-prefork amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2 amd64 2.2.22-1ubuntu1.6
      404  Not Found [IP: 91.189.91.13 80]
    Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.13 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5 all 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-cli amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-gd amd64 5.3.10-1ubuntu3.11
      404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-mpm-prefork_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5_5.3.10-1ubuntu3.11_all.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    


Diffs
-----

  ambari-agent/src/main/python/resource_management/core/providers/package/apt.py 03d27df 
  ambari-agent/src/test/python/resource_management/TestPackageResource.py 08c7ac3 

Diff: https://reviews.apache.org/r/24072/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 24072: Ambari deployment, Ganglia installation failed in Ubuntu12

Posted by Mahadev Konar <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24072/#review49034
-----------------------------------------------------------

Ship it!


Ship It!

- Mahadev Konar


On July 29, 2014, 9:58 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24072/
> -----------------------------------------------------------
> 
> (Updated July 29, 2014, 9:58 p.m.)
> 
> 
> Review request for Ambari and Mahadev Konar.
> 
> 
> Bugs: AMBARI-6666
>     https://issues.apache.org/jira/browse/AMBARI-6666
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Ganglia installation failed, see error output:
> 
>     
>     
>     
>     stderr: 
>     2014-07-24 23:54:38,424 - Error while executing command 'install':
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 113, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_monitor.py", line 33, in install
>         self.install_packages(env)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 178, in install_packages
>         Package(name)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 40, in action_install
>         self.install_package(package_name)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py", line 35, in install_package
>         shell.checked_call(cmd)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 35, in checked_call
>         return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 90, in _call
>         raise Fail(err_msg)
>     Fail: Execution of 'env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install ganglia-webfrontend' returned 100. stdin: is not a tty
>     Reading package lists...
>     Building dependency tree...
>     Reading state information...
>     The following package was automatically installed and is no longer required:
>       openjdk-7-jre-lib
>     Use 'apt-get autoremove' to remove them.
>     The following extra packages will be installed:
>       apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
>       libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
>       libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd rrdtool ssl-cert
>     Suggested packages:
>       apache2-doc apache2-suexec apache2-suexec-custom php-pear libgd-tools
>       php5-suhosin librrds-perl openssl-blacklist
>     The following NEW packages will be installed:
>       apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
>       ganglia-webfrontend libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3
>       libaprutil1-ldap libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd
>       rrdtool ssl-cert
>     0 upgraded, 18 newly installed, 0 to remove and 2 not upgraded.
>     Need to get 9,687 kB/11.9 MB of archives.
>     After this operation, 32.2 MB of additional disk space will be used.
>     WARNING: The following packages cannot be authenticated!
>       libgd2-xpm libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
>       apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork apache2
>       php5-common libapache2-mod-php5 php5 rrdtool ganglia-webfrontend libt1-5
>       php5-cli php5-gd ssl-cert
>     Authentication warning overridden.
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-utils amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-common amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-mpm-prefork amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2 amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5 all 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-cli amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-gd amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-mpm-prefork_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5_5.3.10-1ubuntu3.11_all.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
>      stdout:
>     2014-07-24 23:54:36,192 - Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf -x "" --retry 10     http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment': ..., 'not_if': 'test -e /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
>     2014-07-24 23:54:36,197 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/;     curl -kf -x "" --retry 10     http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
>     2014-07-24 23:54:36,205 - Repository['HDP-2.1'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.1.3.0', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': 'repo_debian.j2', 'repo_file_name': 'HDP', 'mirror_list': None}
>     2014-07-24 23:54:36,210 - File['/tmp/tmp0ysVPA'] {'content': Template('repo_debian.j2')}
>     2014-07-24 23:54:36,211 - Writing File['/tmp/tmp0ysVPA'] because contents don't match
>     2014-07-24 23:54:36,212 - Repository['HDP-UTILS-1.1.0.18'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.18/repos/ubuntu12', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': 'repo_debian.j2', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
>     2014-07-24 23:54:36,213 - File['/tmp/tmpVKsxIS'] {'content': Template('repo_debian.j2')}
>     2014-07-24 23:54:36,213 - Writing File['/tmp/tmpVKsxIS'] because contents don't match
>     2014-07-24 23:54:36,214 - Package['unzip'] {}
>     2014-07-24 23:54:36,235 - Skipping installing existent package unzip
>     2014-07-24 23:54:36,236 - Package['curl'] {}
>     2014-07-24 23:54:36,255 - Skipping installing existent package curl
>     2014-07-24 23:54:36,255 - Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf -x ""   --retry 10 http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz'] {'environment': ..., 'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin', '/usr/bin/']}
>     2014-07-24 23:54:36,259 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/ ;   curl -kf -x ""   --retry 10 http://ambsmoke12-1406243420-4.cs1cloud.internal:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz'] due to not_if
>     2014-07-24 23:54:36,259 - Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] {'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin', '/usr/bin/']}
>     2014-07-24 23:54:36,264 - Skipping Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] due to not_if
>     2014-07-24 23:54:36,265 - Group['hadoop'] {'ignore_failures': False}
>     2014-07-24 23:54:36,265 - Modifying group hadoop
>     2014-07-24 23:54:36,367 - Group['users'] {'ignore_failures': False}
>     2014-07-24 23:54:36,367 - Modifying group users
>     2014-07-24 23:54:36,475 - Group['users'] {'ignore_failures': False}
>     2014-07-24 23:54:36,476 - Modifying group users
>     2014-07-24 23:54:36,592 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
>     2014-07-24 23:54:36,593 - Modifying user ambari-qa
>     2014-07-24 23:54:36,607 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
>     2014-07-24 23:54:36,608 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
>     2014-07-24 23:54:36,619 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] due to not_if
>     2014-07-24 23:54:36,619 - User['hbase'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
>     2014-07-24 23:54:36,620 - Modifying user hbase
>     2014-07-24 23:54:36,633 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
>     2014-07-24 23:54:36,634 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/1/hadoop/hbase 2>/dev/null'] {'not_if': 'test $(id -u hbase) -gt 1000'}
>     2014-07-24 23:54:36,644 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/grid/1/hadoop/hbase 2>/dev/null'] due to not_if
>     2014-07-24 23:54:36,645 - Group['nagios'] {'ignore_failures': False}
>     2014-07-24 23:54:36,645 - Modifying group nagios
>     2014-07-24 23:54:36,759 - User['nagios'] {'gid': 'nagios', 'ignore_failures': False}
>     2014-07-24 23:54:36,760 - Modifying user nagios
>     2014-07-24 23:54:36,770 - User['oozie'] {'gid': 'hadoop', 'ignore_failures': False}
>     2014-07-24 23:54:36,770 - Modifying user oozie
>     2014-07-24 23:54:36,781 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False}
>     2014-07-24 23:54:36,781 - Modifying user hcat
>     2014-07-24 23:54:36,791 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False}
>     2014-07-24 23:54:36,792 - Modifying user hcat
>     2014-07-24 23:54:36,801 - User['hive'] {'gid': 'hadoop', 'ignore_failures': False}
>     2014-07-24 23:54:36,802 - Modifying user hive
>     2014-07-24 23:54:36,811 - User['yarn'] {'gid': 'hadoop', 'ignore_failures': False}
>     2014-07-24 23:54:36,812 - Modifying user yarn
>     2014-07-24 23:54:36,822 - Group['nobody'] {'ignore_failures': False}
>     2014-07-24 23:54:36,822 - Modifying group nobody
>     2014-07-24 23:54:36,900 - Group['nobody'] {'ignore_failures': False}
>     2014-07-24 23:54:36,901 - Modifying group nobody
>     2014-07-24 23:54:37,034 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
>     2014-07-24 23:54:37,034 - Modifying user nobody
>     2014-07-24 23:54:37,047 - User['nobody'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'nobody']}
>     2014-07-24 23:54:37,047 - Modifying user nobody
>     2014-07-24 23:54:37,060 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
>     2014-07-24 23:54:37,061 - Modifying user hdfs
>     2014-07-24 23:54:37,073 - User['mapred'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
>     2014-07-24 23:54:37,073 - Modifying user mapred
>     2014-07-24 23:54:37,086 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False}
>     2014-07-24 23:54:37,086 - Modifying user zookeeper
>     2014-07-24 23:54:37,097 - User['storm'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
>     2014-07-24 23:54:37,097 - Modifying user storm
>     2014-07-24 23:54:37,110 - User['falcon'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'hadoop']}
>     2014-07-24 23:54:37,111 - Modifying user falcon
>     2014-07-24 23:54:37,124 - User['tez'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': [u'users']}
>     2014-07-24 23:54:37,124 - Modifying user tez
>     2014-07-24 23:54:37,360 - Package['python-rrdtool'] {}
>     2014-07-24 23:54:37,384 - Skipping installing existent package python-rrdtool
>     2014-07-24 23:54:37,384 - Package['gmetad'] {}
>     2014-07-24 23:54:37,408 - Skipping installing existent package gmetad
>     2014-07-24 23:54:37,408 - Package['ganglia-webfrontend'] {}
>     2014-07-24 23:54:37,431 - Installing package ganglia-webfrontend ('env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install ganglia-webfrontend')
>     2014-07-24 23:54:38,424 - Error while executing command 'install':
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 113, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/GANGLIA/package/scripts/ganglia_monitor.py", line 33, in install
>         self.install_packages(env)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 178, in install_packages
>         Package(name)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 40, in action_install
>         self.install_package(package_name)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/apt.py", line 35, in install_package
>         shell.checked_call(cmd)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 35, in checked_call
>         return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 90, in _call
>         raise Fail(err_msg)
>     Fail: Execution of 'env DEBIAN_FRONTEND=noninteractive /usr/bin/apt-get -q -o Dpkg::Options::='--force-confdef' --allow-unauthenticated --assume-yes install ganglia-webfrontend' returned 100. stdin: is not a tty
>     Reading package lists...
>     Building dependency tree...
>     Reading state information...
>     The following package was automatically installed and is no longer required:
>       openjdk-7-jre-lib
>     Use 'apt-get autoremove' to remove them.
>     The following extra packages will be installed:
>       apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
>       libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
>       libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd rrdtool ssl-cert
>     Suggested packages:
>       apache2-doc apache2-suexec apache2-suexec-custom php-pear libgd-tools
>       php5-suhosin librrds-perl openssl-blacklist
>     The following NEW packages will be installed:
>       apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
>       ganglia-webfrontend libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3
>       libaprutil1-ldap libgd2-xpm libt1-5 php5 php5-cli php5-common php5-gd
>       rrdtool ssl-cert
>     0 upgraded, 18 newly installed, 0 to remove and 2 not upgraded.
>     Need to get 9,687 kB/11.9 MB of archives.
>     After this operation, 32.2 MB of additional disk space will be used.
>     WARNING: The following packages cannot be authenticated!
>       libgd2-xpm libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
>       apache2.2-bin apache2-utils apache2.2-common apache2-mpm-prefork apache2
>       php5-common libapache2-mod-php5 php5 rrdtool ganglia-webfrontend libt1-5
>       php5-cli php5-gd ssl-cert
>     Authentication warning overridden.
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-bin amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-utils amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2.2-common amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2-mpm-prefork amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main apache2 amd64 2.2.22-1ubuntu1.6
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.13 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main libapache2-mod-php5 amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5 all 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-cli amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-gd amd64 5.3.10-1ubuntu3.11
>       404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-mpm-prefork_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.22-1ubuntu1.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5_5.3.10-1ubuntu3.11_all.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.3.10-1ubuntu3.11_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
>     E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
>     
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/resource_management/core/providers/package/apt.py 03d27df 
>   ambari-agent/src/test/python/resource_management/TestPackageResource.py 08c7ac3 
> 
> Diff: https://reviews.apache.org/r/24072/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>