[
https://issues.apache.org/jira/browse/AMBARI-21611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108030#comment-16108030
]
Hudson commented on AMBARI-21611:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1766 (See
[https://builds.apache.org/job/Ambari-branch-2.5/1766/])
AMBARI-21611 Failed to install packages before EU on powerpc (dili) (dili:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=85ba03b9152b51e85d8afc990638db7b1e1dabfc])
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
> Failed to install packages before EU on powerpc
> -----------------------------------------------
>
> Key: AMBARI-21611
> URL: https://issues.apache.org/jira/browse/AMBARI-21611
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.5.2
> Reporter: Di Li
> Assignee: Di Li
> Priority: Critical
> Fix For: 2.5.2
>
> Attachments: AMBARI-21611.patch, ppc_install_packages_error_UI.png
>
>
> Error message: Repositories for os type redhat-ppc7 are not defined.
> This is because:
> AmbariAgent reports os type (to be stored in the Hosts table) as
> redhat-ppc7. "-ppc" is a hardcoded post fix attached to the os type in
> os_check.py
> """
> os_check.py (AMBARI-21054)
> if _is_powerpc():
> operatingSystem += '-ppc'
> """
> When Ambari server backend generates the {os, repo} map, it uses os
> information from repo_versoin as the key . But later on uses os info from the
> Hosts table to query the map, thus the mismatch (redhat-ppc7 vs redhat7).
> The repo_version table repository column however only uses redhat6/7 and does
> not distinguish ppc vs x86 ( nor it should ))
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)