[jira] [Updated] (AMBARI-23094) Ambari does not manage repositories

2018-03-06 Thread Andrew Onischuk (JIRA)

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

Andrew Onischuk updated AMBARI-23094:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed to trunk

> Ambari does not manage repositories
> ---
>
> Key: AMBARI-23094
> URL: https://issues.apache.org/jira/browse/AMBARI-23094
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.0
>
> Attachments: AMBARI-23094.patch, AMBARI-23094.patch, 
> AMBARI-23094.patch
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> While running CI tests
> 
> 
>  
> Traceback (most recent call last): 
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries 
> code, out = func(cmd, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 72, in inner 
> result = function(command, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 102, in checked_call 
> tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 150, in _call_wrapper 
> result = _call(command, **kwargs_copy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 303, in _call 
> raise ExecutionFailed(err_msg, code, out, err) 
> ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> hadooplzo_3_0_0_2_87' returned 1. Error: Nothing to do 
> 
> 
> 
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0 is not 
> managed by Ambari
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0-GPL is 
> not managed by Ambari
> 2018-02-26 12:16:14,480 - Repository for 
> HDP/3.0.0.2-87/HDP-UTILS-1.1.0.22 is not managed by Ambari
> 
> I checked in DB and indeed manage_repos was false, however I didn't found any
> signs in logs etc. that it was set to false during cluster setup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-23094) Ambari does not manage repositories

2018-02-27 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated AMBARI-23094:

Labels: pull-request-available  (was: )

> Ambari does not manage repositories
> ---
>
> Key: AMBARI-23094
> URL: https://issues.apache.org/jira/browse/AMBARI-23094
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.7.0
>
> Attachments: AMBARI-23094.patch, AMBARI-23094.patch, 
> AMBARI-23094.patch
>
>
> While running CI tests
> 
> 
>  
> Traceback (most recent call last): 
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries 
> code, out = func(cmd, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 72, in inner 
> result = function(command, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 102, in checked_call 
> tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 150, in _call_wrapper 
> result = _call(command, **kwargs_copy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 303, in _call 
> raise ExecutionFailed(err_msg, code, out, err) 
> ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> hadooplzo_3_0_0_2_87' returned 1. Error: Nothing to do 
> 
> 
> 
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0 is not 
> managed by Ambari
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0-GPL is 
> not managed by Ambari
> 2018-02-26 12:16:14,480 - Repository for 
> HDP/3.0.0.2-87/HDP-UTILS-1.1.0.22 is not managed by Ambari
> 
> I checked in DB and indeed manage_repos was false, however I didn't found any
> signs in logs etc. that it was set to false during cluster setup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-23094) Ambari does not manage repositories

2018-02-27 Thread Andrew Onischuk (JIRA)

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

Andrew Onischuk updated AMBARI-23094:
-
Attachment: AMBARI-23094.patch

> Ambari does not manage repositories
> ---
>
> Key: AMBARI-23094
> URL: https://issues.apache.org/jira/browse/AMBARI-23094
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Fix For: 2.7.0
>
> Attachments: AMBARI-23094.patch, AMBARI-23094.patch, 
> AMBARI-23094.patch
>
>
> While running CI tests
> 
> 
>  
> Traceback (most recent call last): 
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries 
> code, out = func(cmd, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 72, in inner 
> result = function(command, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 102, in checked_call 
> tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 150, in _call_wrapper 
> result = _call(command, **kwargs_copy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 303, in _call 
> raise ExecutionFailed(err_msg, code, out, err) 
> ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> hadooplzo_3_0_0_2_87' returned 1. Error: Nothing to do 
> 
> 
> 
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0 is not 
> managed by Ambari
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0-GPL is 
> not managed by Ambari
> 2018-02-26 12:16:14,480 - Repository for 
> HDP/3.0.0.2-87/HDP-UTILS-1.1.0.22 is not managed by Ambari
> 
> I checked in DB and indeed manage_repos was false, however I didn't found any
> signs in logs etc. that it was set to false during cluster setup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-23094) Ambari does not manage repositories

2018-02-27 Thread Andrew Onischuk (JIRA)

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

Andrew Onischuk updated AMBARI-23094:
-
Attachment: AMBARI-23094.patch

> Ambari does not manage repositories
> ---
>
> Key: AMBARI-23094
> URL: https://issues.apache.org/jira/browse/AMBARI-23094
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Fix For: 2.7.0
>
> Attachments: AMBARI-23094.patch, AMBARI-23094.patch, 
> AMBARI-23094.patch
>
>
> While running CI tests
> 
> 
>  
> Traceback (most recent call last): 
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries 
> code, out = func(cmd, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 72, in inner 
> result = function(command, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 102, in checked_call 
> tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 150, in _call_wrapper 
> result = _call(command, **kwargs_copy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 303, in _call 
> raise ExecutionFailed(err_msg, code, out, err) 
> ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> hadooplzo_3_0_0_2_87' returned 1. Error: Nothing to do 
> 
> 
> 
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0 is not 
> managed by Ambari
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0-GPL is 
> not managed by Ambari
> 2018-02-26 12:16:14,480 - Repository for 
> HDP/3.0.0.2-87/HDP-UTILS-1.1.0.22 is not managed by Ambari
> 
> I checked in DB and indeed manage_repos was false, however I didn't found any
> signs in logs etc. that it was set to false during cluster setup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-23094) Ambari does not manage repositories

2018-02-27 Thread Andrew Onischuk (JIRA)

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

Andrew Onischuk updated AMBARI-23094:
-
Status: Patch Available  (was: Open)

> Ambari does not manage repositories
> ---
>
> Key: AMBARI-23094
> URL: https://issues.apache.org/jira/browse/AMBARI-23094
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Fix For: 2.7.0
>
> Attachments: AMBARI-23094.patch
>
>
> While running CI tests
> 
> 
>  
> Traceback (most recent call last): 
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries 
> code, out = func(cmd, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 72, in inner 
> result = function(command, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 102, in checked_call 
> tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 150, in _call_wrapper 
> result = _call(command, **kwargs_copy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 303, in _call 
> raise ExecutionFailed(err_msg, code, out, err) 
> ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> hadooplzo_3_0_0_2_87' returned 1. Error: Nothing to do 
> 
> 
> 
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0 is not 
> managed by Ambari
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0-GPL is 
> not managed by Ambari
> 2018-02-26 12:16:14,480 - Repository for 
> HDP/3.0.0.2-87/HDP-UTILS-1.1.0.22 is not managed by Ambari
> 
> I checked in DB and indeed manage_repos was false, however I didn't found any
> signs in logs etc. that it was set to false during cluster setup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AMBARI-23094) Ambari does not manage repositories

2018-02-27 Thread Andrew Onischuk (JIRA)

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

Andrew Onischuk updated AMBARI-23094:
-
Attachment: AMBARI-23094.patch

> Ambari does not manage repositories
> ---
>
> Key: AMBARI-23094
> URL: https://issues.apache.org/jira/browse/AMBARI-23094
> Project: Ambari
>  Issue Type: Bug
>Reporter: Andrew Onischuk
>Assignee: Andrew Onischuk
>Priority: Major
> Fix For: 2.7.0
>
> Attachments: AMBARI-23094.patch
>
>
> While running CI tests
> 
> 
>  
> Traceback (most recent call last): 
>   File 
> "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py",
>  line 283, in _call_with_retries 
> code, out = func(cmd, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 72, in inner 
> result = function(command, **kwargs) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 102, in checked_call 
> tries=tries, try_sleep=try_sleep, 
> timeout_kill_strategy=timeout_kill_strategy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 150, in _call_wrapper 
> result = _call(command, **kwargs_copy) 
>   File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", 
> line 303, in _call 
> raise ExecutionFailed(err_msg, code, out, err) 
> ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install 
> hadooplzo_3_0_0_2_87' returned 1. Error: Nothing to do 
> 
> 
> 
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0 is not 
> managed by Ambari
> 2018-02-26 12:16:14,479 - Repository for HDP/3.0.0.2-87/HDP-3.0-GPL is 
> not managed by Ambari
> 2018-02-26 12:16:14,480 - Repository for 
> HDP/3.0.0.2-87/HDP-UTILS-1.1.0.22 is not managed by Ambari
> 
> I checked in DB and indeed manage_repos was false, however I didn't found any
> signs in logs etc. that it was set to false during cluster setup.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)