Project

General

Profile

action #132926

Updated by livdywan 10 months ago

## Observation 

 OSD cron -> (fetch_openqa_bugs)> /tmp/fetch_openqa_bugs_osd.log failed: 

 from traceback: 
 ~~~ 
 requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/SUSE/ha-sap-terraform-deployments/issues/857 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f7439e43b38>, 'Connection to api.github.com timed out. (connect timeout=10)')) 
 ~~~ 

 fetch_openqa_bug failed when fetch issues from GitHub 

 ## Acceptance criteria 
 * **AC1:** It is understood why the error occurred 
 * **AC2:** The error does not persist 

 ## Suggestions 
 - Make sure you can login, see https://gitlab.suse.de/OPS-Service/salt/-/blob/production/pillar/id/openqa-service_qe_suse_de.sls#L11 or ask dheidler/mkittler to do that for you 
 - Assuming "host unavailable', check how long the scripts retried 
   - Re-try more often? 
   - Wait longer between attemps?  
 - https://github.com/os-autoinst/openqa_bugfetcher

Back