Skip to main content
Satyajit
Silver ⭐️
Dec 20, 2021 8:06 AM UTC
Question

(Cloudera manager) : Issues while adding hosts to cluster in production env. CDH Cloudera Manager Version 5.13.1

Hi All,

 

We are facing an issue while adding new host to Cloudera manger.

During host installation, Cloudera manager is replacing the /etc/yum.repos.d/cloudera-manager.repo file.

 

The original repo file on server has the required Cloudera credentials to downlaod packages from Cloudera archive. --------

$ cat cloudera-manager.repo [cloudera-manager] name = Cloudera Manager, Version 5.13.1 #baseurl = https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.1/ #gpgkey = https://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera baseurl = https://7bf0xxxx-xxxx-xxxxxxb236:15xxxxxxxxxc9@archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.1/ gpgkey = https://7bf0xxxx-xxxx-xxxxxxb236:15xxxxxxxxxc9@archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera gpgcheck = 1 --------

 

Now when we try to add this host in Cloudera manager, during installation phase the file Cloudera-manager.repo is replaced.

 

Due to this we are observing authentication failures.

6 replies

GangWar
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Dec 20, 2021 6:53 PM UTC

@Satyajit Do you have same repo with credentials on CM server host as well or not? I am guessing the CM server have the repo file without credentials. 

Also follow the doc to add new host : https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/cm_mc_adding_hosts.html#cmug_topic_7_5_1__section_e5g_h5r_j3b

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
Satyajit
SatyajitAuthor
Silver ⭐️
Dec 21, 2021 2:37 PM UTC

@GangWar  Thank you for reply, checking with the customer on this, will update , if i will still require any info on this.

Translate
christopher
Silver ⭐️⭐️
Silver ⭐️⭐️
Jan 3, 2022 5:06 PM UTC

@Satyajit 

Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.

Thanks in advance

Translate
Regards, Chris McConnell, Community Manager
PritamToshniwal
Silver ⭐️⭐️
Jun 7, 2022 4:38 AM UTC

 

 

During host installation, cloudera manager is replacing the /etc/yum.repos.d/cloudera-manager.repo file.

The original repo file on server has the required cloudera credentials to download the packages from cloudera archive.

--------
$ cat cloudera-manager.repo
[cloudera-manager]
name = Cloudera Manager, Version 5.13.1
#baseurl = https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.1/
#gpgkey = https://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
baseurl = https://7bf0xxxx-xxxx-xxxxxxb236:15xxxxxxxxxc9@archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.1/
gpgkey = https://7bf0xxxx-xxxx-xxxxxxb236:15xxxxxxxxxc9@archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
gpgcheck = 1

--------

Now when we try to add this host in cloudera manager, during installation phase the file cloudera-manager.repo is replaced. Due to this we are observing authentication failures.

We think /tmp/scm_prepare_node.uERRAndo/scm_prepare_node.sh script replaces the repo as per the logs.

Updated contents
---------------
$cat cloudera-manager.repo
[cloudera-manager]
name = Cloudera Manager, Version 5.13.1
baseurl = https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.1/
gpgkey = https://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
gpgcheck = 1

-------------

This would be an issue as it prevents us from adding new hosts in case of failures in existing cluster.

Translate
GangWar
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Jun 7, 2022 5:55 AM UTC

@PritamToshniwal An obvious discrepancy I noticed that "/p" is missing from URL. The url should be something like this. 

baseurl = https://7bf0xxxx-xxxx-xxxxxxb236:15xxxxxxxxxc9@archive.cloudera.com/p/cm5/redhat/7/x86_64/cm/5.13.1/

 

Try to modify this and restart CM server. Let us how it goes. 

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.