-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40764/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-14096
https://issues.apache.org/jira/browse/AMBARI-14096
Repository: ambari
Description
-------
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
Diffs
-----
ambari-server/src/main/resources/custom_actions/scripts/check_host.py 7c8290c
Diff: https://reviews.apache.org/r/40764/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk