Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
Super Guru

SYMPTOM: Trying to add components using ambari ui but its failing. We are using RHN satellite repos to download packages.

The HDP.repo and HDP_UTILS.repo were configured with "enable=0" On all servers But they always be modified with "enable=1".

Below are my repos

Output:

[HDP-2.5]
name=HDP-2.5
baseurl=http://172.26.64.249/hdp/centos6/HDP-2.5.3.0/
path=/
enabled=0


[HDP-UTILS-1.1.0.21]
name=HDP-UTILS-1.1.0.21
baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos6
path=/
enabled=0

ROOT CAUSE: As ambari uses puppet it will always revert the repo files back to orignal.

RESOLUTION: Modified the respective file depending upon os, in my case it was -

/var/lib/ambari-server/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/repo_suse_rhel.j2

and replaced - enabled=1 to enabled=0 Restarted ambari server after which services were able to install using RHN Satellite repository.

699 Views
Version history
Last update:
‎12-23-2016 07:17 PM
Updated by:
Contributors