ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-14096) HostCleanup.py is removing system CentOS repositories
Date Fri, 27 Nov 2015 12:38:10 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-14096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk resolved AMBARI-14096.
--------------------------------------
    Resolution: Fixed

Committed to branch-2.1

> 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)

Mime
View raw message