Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/)

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

Same problem here all the day.

 

I run the install with a director config file and could extract the following out of the logs:

 

yum install -d 1 --assumeyes 'cloudera-manager-server'

=============================================================================================================================================================================================================================================
 Package                                                       Arch                                         Version                                                             Repository                                              Size
=============================================================================================================================================================================================================================================
Installing:
 cloudera-manager-server                                       x86_64                                       5.11.0-1.cm5110.p0.101.el7                                          cloudera-manager                                       8.5 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package

Total download size: 8.5 k
Installed size: 12 k
http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.11/RPMS/x86_64/cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-manager clean metadata
Trying other mirror.


Error downloading packages:
  cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64: [Errno 256] No more mirrors to try.

Happens during this stage with different configurations:

* Waiting for new external database servers to start running ... done
* Installing repositories for Cloudera Manager .... done
* Installing oracle-j2sdk1.7 package (1/4) .... done
* Installing yum-utils package (2/4) .... done
* Installing cloudera-manager-daemons package (3/4) .... done
* Installing cloudera-manager-server package (4/4) .... done
* Suspended due to failure ...

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

Me too! I need to perform a CM installation urgently! This is not only in CentOS 7, also happening in CentOS 6.

It is worth to mention that, based on logs, no matter what version of cloudera manager installer you run, it allways try to download the latest package versions.

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

@truonala, this issue happened (roughly) around 0400 Pacific time last Friday, May 26. I was in the middle of running some tests and, prior to that time, Cloudera Manager was successfully installed via yum packages.

 

Since that time, however, attempts at installing `cloudera-manager-server` , `cloudera-manager-daemons`, or really anything out of that repo, fail with the exact same errors reported by the other users in this thread.

 

I cannot speak for other CDH versions or Linux distros but Centos 7 and CDH 5.11 fail. 

 

The `archive.cloudera` yum repos are incorrect. Whatever update happened Friday morning is the source of this problem. I'd recommend finding the team in charge of `archive.cloudera` and showing them this thread. They should know exactly what to do.

 

I've reproduced the problem on a brand new Centos 7 VM. Here's how to reproduce the problem:

cd /etc/yum.repos.d/
wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/cloudera-manager.repo
yum install -y cloudera-manager-server

Loaded plugins: fastestmirror
cloudera-manager                                                                                   |  951 B  00:00:00     
cloudera-manager/primary                                                                           | 4.3 kB  00:00:00     
Loading mirror speeds from cached hostfile
 * base: centos.mirror.nac.net
 * epel: mirror.cogentco.com
 * extras: mirror.rackspace.com
 * updates: mirrors.advancedhosters.com
cloudera-manager                                                                                                      7/7
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-server.x86_64 0:5.11.0-1.cm5110.p0.101.el7 will be installed
--> Processing Dependency: cloudera-manager-daemons = 5.11.0 for package: cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64
--> Running transaction check
---> Package cloudera-manager-daemons.x86_64 0:5.11.0-1.cm5110.p0.101.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================
 Package                           Arch            Version                                Repository                 Size
==========================================================================================================================
Installing:
 cloudera-manager-server           x86_64          5.11.0-1.cm5110.p0.101.el7             cloudera-manager          8.5 k
Installing for dependencies:
 cloudera-manager-daemons          x86_64          5.11.0-1.cm5110.p0.101.el7             cloudera-manager          610 M

Transaction Summary
==========================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 610 M
Installed size: 785 M
Is this ok [y/d/N]: y
Downloading packages:
cloudera-manager-server-5.11.0 FAILED                                          
https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/RPMS/x86_64/cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-manager clean metadata
Trying other mirror.
cloudera-manager-daemons-5.11. FAILED                                          99% [===================================================================-] 9.8 MB/s | 610 MB  00:00:00 ETA 
https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/RPMS/x86_64/cloudera-manager-daemons-5.11.0-1.cm5110.p0.101.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-manager clean metadata
Trying other mirror.


Error downloading packages:
  cloudera-manager-daemons-5.11.0-1.cm5110.p0.101.el7.x86_64: [Errno 256] No more mirrors to try.
  cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64: [Errno 256] No more mirrors to try.

[root@cdh-02 yum.repos.d]# 

 

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

@truonala, I've just confirmed that the exact same problem occurs with the binary installer as well. Here's the output from the binary installer logs.

 

[root@cdh-03 ]# cat /var/log/cloudera-manager-installer/3.install-cloudera-manager-server.log 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.nac.net
 * epel: mirror.cogentco.com
 * extras: mirror.rackspace.com
 * updates: mirrors.advancedhosters.com
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-server.x86_64 0:5.11.0-1.cm5110.p0.101.el7 will be installed
--> Processing Dependency: cloudera-manager-daemons = 5.11.0 for package: cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64
--> Running transaction check
---> Package cloudera-manager-daemons.x86_64 0:5.11.0-1.cm5110.p0.101.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch   Version                    Repository        Size
================================================================================
Installing:
 cloudera-manager-server
                       x86_64 5.11.0-1.cm5110.p0.101.el7 cloudera-manager 8.5 k
Installing for dependencies:
 cloudera-manager-daemons
                       x86_64 5.11.0-1.cm5110.p0.101.el7 cloudera-manager 610 M

Transaction Summary
================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 610 M
Installed size: 785 M
Downloading packages:
http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/RPMS/x86_64/cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-manager clean metadata
Trying other mirror.
http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5/RPMS/x86_64/cloudera-manager-daemons-5.11.0-1.cm5110.p0.101.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-manager clean metadata
Trying other mirror.


Error downloading packages:
  cloudera-manager-daemons-5.11.0-1.cm5110.p0.101.el7.x86_64: [Errno 256] No more mirrors to try.
  cloudera-manager-server-5.11.0-1.cm5110.p0.101.el7.x86_64: [Errno 256] No more mirrors to try.

[root@cdh-03 ]# 

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

Expert Contributor

Thank you all for the detailed installation commands.     Sorry for the slow reponse.

 

I am reporting this issue to those reposponsible for the archived repos.   I will make this a priority.  Will keep this post informed.

 

Tina

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

Thanks @truonala! Looking forward to hearing back.

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

Have facing the same issue.

 

1) Set sslverify = 0 in below mentioned repo files.

          /etc/yum.repos.d/redhat-rhui.repo

          /etc/yum.repos.d/redhat-rhui-client-config.repo

 

2) yum clean all

 

then launch cloudera manager.

 

It works for me ..May be work for you..

Highlighted

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

New Contributor

Hi @truonala, I've been having the same problem trying to install Cloudera Director as of yesterday.

 

It happens when trying to deploy Cloudera Director on Azure through the Cloudera template. All the resources are provisioned successfully but the final step of installing Cloudera Director on a CentOS 6.7 VM fails. Here's an excerpt from my error logs:

 

Thu Jun  1 03:29:47 CDT 2017: ---------- VM extension scripts starting ----------
Thu Jun  1 03:29:47 CDT 2017: Collecting marketing info ...
Thu Jun  1 03:29:48 CDT 2017: Collecting marketing info ... Successful
Thu Jun  1 03:29:48 CDT 2017: Initializing Director Server, DNS server and MySQL DB server ...
Thu Jun  1 03:29:48 CDT 2017: Enabling password-less sudoer ...
Thu Jun  1 03:29:48 CDT 2017: Enabling password-less sudoer ... Successful
Thu Jun  1 03:29:48 CDT 2017: Installing basic tools ...
Loaded plugins: fastestmirror, security
Cleaning repos: base extras openlogic updates
Cleaning up Everything
Loaded plugins: fastestmirror, security
Setting up Install Process
Determining fastest mirrors
Package wget-1.12-10.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
---> Package expect.x86_64 0:5.44.1.15-5.el6_4 will be installed
--> Processing Dependency: libtcl8.5.so()(64bit) for package: expect-5.44.1.15-5.el6_4.x86_64
--> Running transaction check
---> Package tcl.x86_64 1:8.5.7-6.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch          Version                  Repository     Size
================================================================================
Installing:
 epel-release        noarch        6-8                      extras         14 k
 expect              x86_64        5.44.1.15-5.el6_4        base          256 k
Installing for dependencies:
 tcl                 x86_64        1:8.5.7-6.el6            base          1.9 M

Transaction Summary
================================================================================
Install       3 Package(s)

Total download size: 2.2 M
Installed size: 4.9 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                            22 MB/s | 2.2 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : 1:tcl-8.5.7-6.el6.x86_64                                     1/3 
  Installing : expect-5.44.1.15-5.el6_4.x86_64                              2/3 
  Installing : epel-release-6-8.noarch                                      3/3 
  Verifying  : expect-5.44.1.15-5.el6_4.x86_64                              1/3 
  Verifying  : 1:tcl-8.5.7-6.el6.x86_64                                     2/3 
  Verifying  : epel-release-6-8.noarch                                      3/3 

Installed:
  epel-release.noarch 0:6-8          expect.x86_64 0:5.44.1.15-5.el6_4         

Dependency Installed:
  tcl.x86_64 1:8.5.7-6.el6                                                      

Complete!
Thu Jun  1 03:30:10 CDT 2017: Installing basic tools ... Successful
Thu Jun  1 03:30:10 CDT 2017: Installing Cloudera Director Server, Client, Plugins and dependencies ...
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: nl.mirror.babylon.network
Package 32:bind-utils-9.8.2-0.62.rc1.el6_9.2.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.8.2-0.62.rc1.el6_9.2 will be installed
---> Package cloudera-director-client.x86_64 0:2.4.1-1.director241.p0.38.el6 will be installed
--> Processing Dependency: cloudera-director-plugins = 2.4.1-1.director241.p0.38.el6 for package: cloudera-director-client-2.4.1-1.director241.p0.38.el6.x86_64
---> Package cloudera-director-server.x86_64 0:2.4.1-1.director241.p0.38.el6 will be installed
---> Package oracle-j2sdk1.7.x86_64 0:1.7.0+update67-1 will be installed
---> Package oracle-j2sdk1.8.x86_64 0:1.8.0+update121-1 will be installed
---> Package python-pip.noarch 0:7.1.0-1.el6 will be installed
--> Running transaction check
---> Package cloudera-director-plugins.x86_64 0:2.4.1-1.director241.p0.38.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch   Version                       Repository         Size
================================================================================
Installing:
 bind              x86_64 32:9.8.2-0.62.rc1.el6_9.2     updates           4.0 M
 cloudera-director-client
                   x86_64 2.4.1-1.director241.p0.38.el6 cloudera-director  49 M
 cloudera-director-server
                   x86_64 2.4.1-1.director241.p0.38.el6 cloudera-director  79 M
 oracle-j2sdk1.7   x86_64 1.7.0+update67-1              cloudera-director 135 M
 oracle-j2sdk1.8   x86_64 1.8.0+update121-1             cloudera-director 174 M
 python-pip        noarch 7.1.0-1.el6                   epel              1.5 M
Installing for dependencies:
 cloudera-director-plugins
                   x86_64 2.4.1-1.director241.p0.38.el6 cloudera-director  28 M

Transaction Summary
================================================================================
Install       7 Package(s)

Total download size: 471 M
Installed size: 824 M
Downloading Packages:
http://archive.cloudera.com/director/redhat/6/x86_64/director/2/RPMS/x86_64/oracle-j2sdk1.8-1.8.0%2Bupdate121-1.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cloudera-director clean metadata
Trying other mirror.


Error Downloading Packages:
  oracle-j2sdk1.8-1.8.0+update121-1.x86_64: failure: RPMS/x86_64/oracle-j2sdk1.8-1.8.0+update121-1.x86_64.rpm from cloudera-director: [Errno 256] No more mirrors to try.

Using your workaround of changing the version in /etc/yum.repos.d/cloudera-director.repo from 2 to 2.3.0 I was able to manually install an older version, however the template pointing to 2 (the newest version being 2.4.1) does not work.

 

This looks like the same kind of error to me?

 

Thanks,

Jasper

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

Expert Contributor

@elephant  Yes, this looks like the same type of error to me also.   I will report this to the folks working on fixing all the repos.

 

Tina

Re: cloudera-manager-installer fails on centos 7.3 vanilla installation (untouched /etc/yum.repos.d/

Expert Contributor
Hi Jasper,

They are wondering what part of the world you are residing in. The issue is not affecting everyone equally. They think it might help to know where you are.

Thank you - Tina