Project

General

Profile

action #166721

Updated by okurz 23 days ago

## Observation 

 Many emails with the subject `Cron <geekotest@ariel> git -C /opt/os-autoinst-scripts pull --quiet --rebase origin master` and `Cron <geekotest@ariel> env updateall=1 force=1 /usr/share/openqa/script/fetchneedles`: 
 
 ``` 
 kex_exchange_identification: Connection closed by remote host 
 Connection closed by 140.82.121.4 port 22 
 fatal: Could not read from remote repository. 

 Please make sure you have the correct access rights 
 and the repository exists. 
 ``` 

 ## Suggestions 
 * Replace such cron jobs with systemd timers 
   * Add the timer definition to the git repo 
   * Copy the service/timer to avoid it being changed if the git repo is rolled back 
 * Rely on #164898 to deal with fetchneedles 


Back