Benjamin Ruland created AMBARI-22919:
----------------------------------------

             Summary: Activating RedHat Satellite Package usage requires 
certain repository names after AMBARI-21450
                 Key: AMBARI-22919
                 URL: https://issues.apache.org/jira/browse/AMBARI-22919
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.6.1
         Environment: Tested environment is
 * SLES 12 SP2
 * Ambari 2.6.1
 * HDP 2.6.4
 * Python 2.7.9
 * openjdk version "1.8.0_151"

 

 
            Reporter: Benjamin Ruland


When activating the checkbox "Use RedHat Satellite/Spacewalk" in Ambari 2.6.1 a 
new installation of HDP 2.6.4 fails.

The installation assistant seems to require a certain IDs for the repositories 
in which it searches the packages of HDP: 
HDP-2.6, HDP-2.6-GPL, HDP-UTILS-1.1.0.22
This can not be guaranteed, as the repo IDs may be defined by external factors 
when using Satellite.

The changed code was introduced in AMBARI-21450.

 

Ambari should either be configurable for choosing the repository IDs or just 
use all existing repositories for searching for packages (I mean, that is what 
yum/zypper do).

 

This is an extract of the failing installation. It fails at the installation of 
the first Hadoop service which is App Timeline Server:

 
2018-02-06 05:47:55,182 - Repository for HDP/2.6.4.0/HDP-2.6 is not managed by 
Ambari
2018-02-06 05:47:55,182 - Repository for HDP/2.6.4.0/HDP-2.6-GPL is not managed 
by Ambari
2018-02-06 05:47:55,182 - Repository for HDP/2.6.4.0/HDP-UTILS-1.1.0.22 is not 
managed by Ambari
2018-02-06 05:47:55,183 - Package['unzip'] \{'retry_on_repo_unavailability': 
False, 'retry_count': 5}
2018-02-06 05:47:55,230 - Skipping installation of existing package unzip
2018-02-06 05:47:55,230 - Package['curl'] \{'retry_on_repo_unavailability': 
False, 'retry_count': 5}
2018-02-06 05:47:55,642 - Skipping installation of existing package curl
2018-02-06 05:47:55,643 - Package['hdp-select'] 
\{'retry_on_repo_unavailability': False, 'retry_count': 5}
2018-02-06 05:47:55,683 - Skipping installation of existing package hdp-select
2018-02-06 05:47:55,777 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 
'versions')] {}
2018-02-06 05:47:55,802 - call returned (0, '')
2018-02-06 05:47:56,062 - Command repositories: HDP-2.6, HDP-2.6-GPL, 
HDP-UTILS-1.1.0.22
2018-02-06 05:47:56,062 - Applicable repositories: HDP-2.6, HDP-2.6-GPL, 
HDP-UTILS-1.1.0.22
2018-02-06 05:47:56,063 - Looking for matching packages in the following 
repositories: HDP-2.6, HDP-2.6-GPL, HDP-UTILS-1.1.0.22
2018-02-06 05:47:56,484 - No package found for 
hadoop_${stack_version}-yarn(hadoop_(\d|_)+-yarn$)
2018-02-06 05:47:56,545 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 
'versions')] {}
2018-02-06 05:47:56,567 - call returned (0, '')
2018-02-06 05:47:56,568 - The 'hadoop-yarn-timelineserver' component did not 
advertise a version. This may indicate a problem with the component packaging.

Command failed after 1 tries
 

These are the existing repos. They were added manually and are hosted locally:
hadoop01: # zypper lr
# | Alias | Name | Enabled | GPG Check | Refresh
---+-------------------------------------------------------------------------+----------------------------------------+---------+-----------+--------
1 | HDP-2.6.4.0 | HDP Version - HDP-2.6.4.0 | Yes | ( ) No | No 
2 | HDP-GPL-2.6.4.0 | HDP-GPL Version - HDP-GPL-2.6.4.0 | Yes | ( ) No | No 
3 | HDP-UTILS-1.1.0.22 | HDP-UTILS Version - HDP-UTILS-1.1.0.22 | Yes | ( ) No 
| No 
4 | SLES12-SP2-12.2-0 | SLES12-SP2-12.2-0 | Yes | (r ) Yes | No 
5 | SUSE_Linux_Enterprise_Server_12_SP2_x86_64:SLES12-SP2-Debuginfo-Pool | 
SLES12-SP2-Debuginfo-Pool | No | ---- | No 
6 | SUSE_Linux_Enterprise_Server_12_SP2_x86_64:SLES12-SP2-Debuginfo-Updates | 
SLES12-SP2-Debuginfo-Updates | No | ---- | Yes 
7 | SUSE_Linux_Enterprise_Server_12_SP2_x86_64:SLES12-SP2-Pool | 
SLES12-SP2-Pool | Yes | (r ) Yes | No 
8 | SUSE_Linux_Enterprise_Server_12_SP2_x86_64:SLES12-SP2-Source-Pool | 
SLES12-SP2-Source-Pool | No | ---- | No 
9 | SUSE_Linux_Enterprise_Server_12_SP2_x86_64:SLES12-SP2-Updates | 
SLES12-SP2-Updates | Yes | (r ) Yes | Yes 
10 | ambari-2.6.1.0 | ambari Version - ambari-2.6.1.0 | Yes | ( ) No | No
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to