Bug 1843999

Summary: aliyun-vpc-move-ip: log errors with command/return codes when failing, and improve debug logging
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: rcFlags: pm-rhel: mirror+
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-4.1.1-54.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 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:

Description Oyvind Albrigtsen 2020-06-04 14:38:44 UTC
Description of problem:
The following patch makes aliyun-vpc-move-ip log errors about which command and return code was returned when failing.

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


How reproducible:
100%

Steps to Reproduce:
1. Setup aliyun-vpc-move-ip with a parameter that makes it fail.
2.
3.

Actual results:
Doesnt log command and rc for the command that failed.

Expected results:
Logs command and rc for the command that failed.

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

Comment 6 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