Andrew Onischuk created AMBARI-23094:
----------------------------------------

             Summary: 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
             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)

Reply via email to