Bug 1845574

Summary: azure-events: handle exceptions in urlopen
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: agk, bperkins, cluster-maint, fdinitto
Target Milestone: rc   
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-4.1.1-65.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1862121 (view as bug list) Environment:
Last Closed: 2020-11-04 02:19:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1862121    

Description Oyvind Albrigtsen 2020-06-09 14:39:00 UTC
Description of problem:
This patch make azure-events catch errors when connecting to the URL, making it easier to troubleshoot issues.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Block requests to the API or similar to make it fail. 
2.
3.

Actual results:
Fails with full traceback.

Expected results:
Fails with more sensible output.

Additional info:
https://github.com/ClusterLabs/resource-agents/pull/1496

Comment 5 Oyvind Albrigtsen 2020-07-30 10:03:01 UTC
https://github.com/ClusterLabs/resource-agents/pull/1538

Comment 9 errata-xmlrpc 2020-11-04 02:19:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: resource-agents security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4605