You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/05/26 16:25:01 UTC

[jira] [Resolved] (AMBARI-5895) Suppress any debug and info messages from package managers in setupAgent.py

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

Dmitry Lysnichenko resolved AMBARI-5895.
----------------------------------------

    Resolution: Fixed

Committed to trunk

> Suppress any debug and info messages from package managers in setupAgent.py
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-5895
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5895
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.6.1
>
>
> During bootstrapping of agents, installation retrieve versions of available packages from system package manager. After some test was founded  that in different situations package  managers can produce specific info/debug output which can be reason of wrong parsing of output.
> Example:
> Zypper command:
> {quote}
> se2mon1400652583-9:/etc/zypp/repos.d # zypper search -s --match-exact ambari-agent 
> Building repository 'Hortonworks Data Platform Utils Version - HDP-UTILS-1.1.0.16' cache [done]
> Building repository 'Hortonworks Data Platform Utils Version - HDP-UTILS-1.1.0.17' cache [done]
> Building repository 'Hosted (SLES_11)' cache [done]
> Building repository 'ambari-1.6.0 - Updates' cache [done]
> Building repository 'Ambari 1.x' cache [done]
> Building repository 'PostgreSQL and related packages (SLE_11_SP3)' cache [done]
> Loading repository data...
> Reading installed packages...
> S | Name         | Type    | Version   | Arch   | Repository            
> --+--------------+---------+-----------+--------+-----------------------
>   | ambari-agent | package | 1.6.0-46  | x86_64 | ambari-1.6.0 - Updates
>   | ambari-agent | package | 1.2.0.1-1 | x86_64 | Ambari 1.x
> {quote}
> Parsed as:
> {quote}
>    Building repository 'ambari-1.6.0 
> {quote}
> We should suppress any debug/info output in setupAgent.py to avoid any unexpected situation. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)