Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8980B200BA6 for ; Tue, 18 Oct 2016 13:10:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8536A160ACC; Tue, 18 Oct 2016 11:10:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BFC9C160AF7 for ; Tue, 18 Oct 2016 13:09:59 +0200 (CEST) Received: (qmail 92018 invoked by uid 500); 18 Oct 2016 11:09:58 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 91945 invoked by uid 99); 18 Oct 2016 11:09:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2016 11:09:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 83F732C4C74 for ; Tue, 18 Oct 2016 11:09:58 +0000 (UTC) Date: Tue, 18 Oct 2016 11:09:58 +0000 (UTC) From: "Zsombor Gegesy (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-18577) Installing ambari agent on Suse fails, when zypper has questions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Oct 2016 11:10:00 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18577?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zsombor Gegesy updated AMBARI-18577: ------------------------------------ Attachment: (was: 0001-AMBARI-18577-add-non-interactive-flag-to-zyp= per-comm.patch) > 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=E2=80=82=E2=80=82=E2=80=82=E2=80=82Ss+=E2=80=82=E2=80=82=E2= =80=82=E2=80=820:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82 \_ /bin/bash /var/= lib/ambari-agent/tmp/ambari-sudo.sh python /var/lib/ambari-agent/tmp/setupA= gent1476267067.py os-sles11-3-cluster-3.openstacklocal DEV os-sles11 > 17855 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82 \_ python /var/lib/ambari-agent/tmp/setupAgent1476267067.py= os-sles11-3-cluster-3.openstacklocal DEV os-sles11-3-cluster.openstackloca= l root 2.4 > 18357 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82 \_ bash -c zypper --no-= gpg-checks -q search -s --match-exact ambari-agent | grep ambari-agent | se= d -re 's/\s+/ /g' | cut -d '|' -f 4 | tr '\n' ', ' | sed -s 's/[-| > 18358 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 \_ zypper --no-gpg-checks -q search -s --match-exact ambari-ag= ent > 18359 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 \_ grep ambari-agent > 18360 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 \_ sed -re s/\s+/ /g > 18361 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 \_ cut -d | -f 4 > 18362 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 \_ tr \n ,=20 > 18363 pts/0=E2=80=82=E2=80=82=E2=80=82=E2=80=82S+=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 0:00=E2=80=82=E2=80=82|=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2= =80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80=82=E2=80= =82=E2=80=82 \_ sed -s s/[-|~][A-Za-z0-9]*//g > {noformat} > Unfortunately the process hangs there forever, other zypper processes ref= uses 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)