ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-5895) Suppress any debug and info messages from package managers in setupAgent.py
Date Mon, 26 May 2014 14:25:01 GMT

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

Mime
View raw message