- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 12-23-2016 07:17 PM
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.