[
https://issues.apache.org/jira/browse/AMBARI-24563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16598185#comment-16598185
]
Hudson commented on AMBARI-24563:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #9900 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/9900/])
AMBARI-24563. global name 'VERIFY_DEPENDENCY_CMD' is not defined' (github:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=06fd55b88751e81a8b970bde3c815b90f04ccedd])
* (edit)
ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py
> global name 'VERIFY_DEPENDENCY_CMD' is not defined'
> ---------------------------------------------------
>
> Key: AMBARI-24563
> URL: https://issues.apache.org/jira/browse/AMBARI-24563
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.7.1
> Reporter: Attila Magyar
> Assignee: Attila Magyar
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.1
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> STR:-
> 1. deploy the cluster with HDP-3.0.1.0-164 + ambari_version : 2.7.1.0-147
> 2. added a patch targetVDF-29-08-2018-00-53-55.xml
> 3. install version
> {code}
> 2018-08-29 16:47:27,225 - Package Manager failed to install packages: Failed
> to execute command '/usr/bin/apt-get -o Dpkg::Options::=--force-confdef
> --allow-unauthenticated --assume-yes install -o
> Dir::Etc::SourceList=/dev/null -o Dir::Etc::SourceParts= hdp-select', exited
> with code '100', message: 'E: dpkg was interrupted, you must manually run
> 'dpkg --configure -a' to correct the problem.
> '
> 2018-08-29 16:47:27,250 - Could not install packages. Error: global name
> 'VERIFY_DEPENDENCY_CMD' is not defined
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 136, in actionexecute
> ret_code = self.install_packages(package_list)
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 447, in install_packages
> if not self.repo_mgr.verify_dependencies():
> File
> "/usr/lib/ambari-agent/lib/ambari_commons/repo_manager/apt_manager.py", line
> 218, in verify_dependencies
> err_msg = Logger.filter_text("Failed to verify package dependencies.
> Execution of '%s' returned %s. %s" % (VERIFY_DEPENDENCY_CMD, code, out))
> NameError: global name 'VERIFY_DEPENDENCY_CMD' is not defined
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 136, in actionexecute
> ret_code = self.install_packages(package_list)
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 447, in install_packages
> if not self.repo_mgr.verify_dependencies():
> File
> "/usr/lib/ambari-agent/lib/ambari_commons/repo_manager/apt_manager.py", line
> 218, in verify_dependencies
> err_msg = Logger.filter_text("Failed to verify package dependencies.
> Execution of '%s' returned %s. %s" % (VERIFY_DEPENDENCY_CMD, code, out))
> NameError: global name 'VERIFY_DEPENDENCY_CMD' is not defined
> The above exception was the cause of the following exception:
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 486, in <module>
> InstallPackages().execute()
> File
> "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py",
> line 351, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py",
> line 149, in actionexecute
> raise Fail("Failed to distribute repositories/install packages")
> resource_management.core.exceptions.Fail: Failed to distribute
> repositories/install packages
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)