[
https://issues.apache.org/jira/browse/AMBARI-14096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029991#comment-15029991
]
Hudson commented on AMBARI-14096:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #3925 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3925/])
AMBARI-14096. HostCleanup.py is removing system CentOS repositories (aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=00cb7bad7666fd86a0bec332928a42f58a656707])
* ambari-server/src/main/resources/custom_actions/scripts/check_host.py
> HostCleanup.py is removing system CentOS repositories
> ------------------------------------------------------
>
> Key: AMBARI-14096
> URL: https://issues.apache.org/jira/browse/AMBARI-14096
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.3
>
>
> When executed hostcleanup.py report system repos to be removed.
> After this it is not possible to reinstall ambari-server due to postgres
> server repo not accessible.
>
>
>
> ...
> INFO:HostCleanup:
> Deleting repo files: ['/etc/yum.repos.d/CentOS-Base.repo',
> '/etc/yum.repos.d/epel.repo']
> ...
>
> The issue was because pigz packages was added to the extras in centos7, so
> we were thinking that's it's a package of pig, and that extras repo is HDP
> repository, cleaning up the file which contained it.
> (/etc/yum.repos.d/CentOS-Base.repo)
> [root@os-r7-bzdeou-ambari-rare-1re-4 yum.repos.d]# grep -C1 '^pig' 1.txt
> pidgin-sipe.x86_64 1.20.0-1.el7 epel
>
> pig.noarch 0.15.0.2.3.4.0-3349.el6
> HDP-2.3.4.0
> pig_2_3_4_0_3349.noarch 0.15.0.2.3.4.0-3349.el6
> HDP-2.3.4.0
> piglit.x86_64 1-0.25.20150206GITi9c8b329.el7 epel
>
> pigz.x86_64 2.3.3-1.el7.centos extras
>
> pinentry-gtk.x86_64 0.8.1-14.el7 base
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)