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 2016/10/12 14:17:20 UTC
[jira] [Created] (AMBARI-18577) Installing ambari agent on Suse
fails, when zypper has questions
Zsombor Gegesy created AMBARI-18577:
---------------------------------------
Summary: 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
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.3.4#6332)