Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.

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