Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
-
None
Description
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:
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
Parsed as:
Building repository 'ambari-1.6.0
We should suppress any debug/info output in setupAgent.py to avoid any unexpected situation.
Attachments
Issue Links
- links to