You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Zsombor Gegesy (JIRA)" <ji...@apache.org> on 2017/09/05 09:41:00 UTC

[jira] [Issue Comment Deleted] (AMBARI-18577) Installing ambari agent on Suse fails, when zypper has questions

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

Zsombor Gegesy updated AMBARI-18577:
------------------------------------
    Comment: was deleted

(was: The patch is available at : https://reviews.apache.org/r/52785/

What could I do, to move it forward? 

Could someone assign me this ticket ?)

> Installing ambari agent on Suse fails, when zypper has questions
> ----------------------------------------------------------------
>
>                 Key: AMBARI-18577
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18577
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>         Environment: Suse 11p3
>            Reporter: Zsombor Gegesy
>             Fix For: trunk
>
>         Attachments: 0001-AMBARI-18577-add-non-interactive-flag-to-zypper-comm.patch
>
>
> During installing the ambari-agent on hosts, the process stuck at :
> {noformat}
> 17829 pts/0    Ss+    0:00  |   \_ /bin/bash /var/lib/ambari-agent/tmp/ambari-sudo.sh python /var/lib/ambari-agent/tmp/setupAgent1476267067.py os-sles11-3-cluster-3.openstacklocal DEV os-sles11
> 17855 pts/0    S+     0:00  |       \_ python /var/lib/ambari-agent/tmp/setupAgent1476267067.py os-sles11-3-cluster-3.openstacklocal DEV os-sles11-3-cluster.openstacklocal root 2.4
> 18357 pts/0    S+     0:00  |           \_ bash -c zypper --no-gpg-checks -q search -s --match-exact ambari-agent | grep ambari-agent | sed -re 's/\s+/ /g' | cut -d '|' -f 4 | tr '\n' ', ' | sed -s 's/[-|
> 18358 pts/0    S+     0:00  |               \_ zypper --no-gpg-checks -q search -s --match-exact ambari-agent
> 18359 pts/0    S+     0:00  |               \_ grep ambari-agent
> 18360 pts/0    S+     0:00  |               \_ sed -re s/\s+/ /g
> 18361 pts/0    S+     0:00  |               \_ cut -d | -f 4
> 18362 pts/0    S+     0:00  |               \_ tr \n , 
> 18363 pts/0    S+     0:00  |               \_ sed -s s/[-|~][A-Za-z0-9]*//g
> {noformat}
> Unfortunately the process hangs there forever, other zypper processes refuses to do anything. After killing the processes, it is possible to use the system again, and check what happened. It seems, that zypper has a problem with one of the repository from Suse :
> {noformat}
> File '/repodata/repomd.xml' not found on medium 'http://download.opensuse.org/repositories/Cloud:/Tools/SLE_11_SP3/'
> Abort, retry, ignore? [a/r/i/?] (a):
> {noformat}
> This problem can be solved, with adding the --non-interactive flag



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)