ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Di Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-21611) PowerPC failed to install packages before EU
Date Sat, 29 Jul 2017 02:04:00 GMT
Di Li created AMBARI-21611:
------------------------------

             Summary: PowerPC failed to install packages before EU
                 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


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)

Mime
View raw message