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

2017-09-05 Thread Doroszlai, Attila (JIRA)

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

Doroszlai, Attila updated AMBARI-18577:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed to 
[trunk|http://git-wip-us.apache.org/repos/asf/ambari/commit/af647f81cb].

> 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/0Ss+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/0S+ 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/0S+ 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/0S+ 0:00  |   \_ zypper --no-gpg-checks -q 
> search -s --match-exact ambari-agent
> 18359 pts/0S+ 0:00  |   \_ grep ambari-agent
> 18360 pts/0S+ 0:00  |   \_ sed -re s/\s+/ /g
> 18361 pts/0S+ 0:00  |   \_ cut -d | -f 4
> 18362 pts/0S+ 0:00  |   \_ tr \n , 
> 18363 pts/0S+ 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)


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

2016-10-18 Thread Zsombor Gegesy (JIRA)

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

Zsombor Gegesy updated AMBARI-18577:

Attachment: 0001-AMBARI-18577-add-non-interactive-flag-to-zypper-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/0Ss+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/0S+ 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/0S+ 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/0S+ 0:00  |   \_ zypper --no-gpg-checks -q 
> search -s --match-exact ambari-agent
> 18359 pts/0S+ 0:00  |   \_ grep ambari-agent
> 18360 pts/0S+ 0:00  |   \_ sed -re s/\s+/ /g
> 18361 pts/0S+ 0:00  |   \_ cut -d | -f 4
> 18362 pts/0S+ 0:00  |   \_ tr \n , 
> 18363 pts/0S+ 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)


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

2016-10-18 Thread Zsombor Gegesy (JIRA)

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

Zsombor Gegesy updated AMBARI-18577:

Attachment: (was: 
0001-AMBARI-18577-add-non-interactive-flag-to-zypper-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/0Ss+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/0S+ 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/0S+ 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/0S+ 0:00  |   \_ zypper --no-gpg-checks -q 
> search -s --match-exact ambari-agent
> 18359 pts/0S+ 0:00  |   \_ grep ambari-agent
> 18360 pts/0S+ 0:00  |   \_ sed -re s/\s+/ /g
> 18361 pts/0S+ 0:00  |   \_ cut -d | -f 4
> 18362 pts/0S+ 0:00  |   \_ tr \n , 
> 18363 pts/0S+ 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)


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

2016-10-12 Thread Zsombor Gegesy (JIRA)

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

Zsombor Gegesy updated AMBARI-18577:

Attachment: 0001-AMBARI-18577-add-non-interactive-flag-to-zypper-comm.patch

Fix setupAgent

> 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/0Ss+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/0S+ 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/0S+ 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/0S+ 0:00  |   \_ zypper --no-gpg-checks -q 
> search -s --match-exact ambari-agent
> 18359 pts/0S+ 0:00  |   \_ grep ambari-agent
> 18360 pts/0S+ 0:00  |   \_ sed -re s/\s+/ /g
> 18361 pts/0S+ 0:00  |   \_ cut -d | -f 4
> 18362 pts/0S+ 0:00  |   \_ tr \n , 
> 18363 pts/0S+ 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)


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

2016-10-12 Thread Zsombor Gegesy (JIRA)

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

Zsombor Gegesy updated AMBARI-18577:

Fix Version/s: trunk
   Status: Patch Available  (was: Open)

> 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
>
>
> During installing the ambari-agent on hosts, the process stuck at :
> {noformat}
> 17829 pts/0Ss+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/0S+ 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/0S+ 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/0S+ 0:00  |   \_ zypper --no-gpg-checks -q 
> search -s --match-exact ambari-agent
> 18359 pts/0S+ 0:00  |   \_ grep ambari-agent
> 18360 pts/0S+ 0:00  |   \_ sed -re s/\s+/ /g
> 18361 pts/0S+ 0:00  |   \_ cut -d | -f 4
> 18362 pts/0S+ 0:00  |   \_ tr \n , 
> 18363 pts/0S+ 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)