Project

Profile

Help

Issue #2458

Updated by jortel@redhat.com almost 8 years ago

 
 <pre> 
  pulp-admin repo download --repo-id lazy 
 +----------------------------------------------------------------------+ 
                      Downloading Repository [lazy] 
 +----------------------------------------------------------------------+ 

 This command may be exited via ctrl+c without affecting the request. 


 Download Repository Content 
 [==========================                          ] 53% 
 17 of 32 items 
 ... failed 

 Task Succeeded 
 </pre> 

 This needs to be logged at INFO.    Otherwise, this fails with *nothing* in the log.    I spend 4 hours troubleshooting this. 


 ---- 

 <pre> 
         except (InvalidChecksumType, VerificationException, IOError), e: 
             _logger.debug(_('Download of {path} failed: {reason}.').format( 
                 path=catalog_entry.path, reason=str(e))) 
             path_entry[PATH_DOWNLOADED] = False 
             self.progress_failures += 1 
 self.report() 
 </pre> 

 This needs to be logged at INFO.    Otherwise, this fails with *nothing* in the log.    I spend 4 hours troubleshooting this. 


 [1] https://github.com/pulp/pulp/blob/master/server/pulp/server/controllers/repository.py#L1710 

Back