[ClusterLabs Developers] Resource agent change review for azure-events

Reid Wahl nwahl at redhat.com
Sun Dec 6 17:53:30 EST 2020


Hi, Rich. I already responded to your email to this list, almost an
hour ago. This is a duplicate.

On Sun, Dec 6, 2020 at 2:50 PM Rich Paredes <Rich.Paredes at suse.com> wrote:
>
> Proposed commit is here: https://github.com/rfparedes/resource-agents/commit/4f6f5e9634092a3db2e61258f24165c6fecfadc5
>
> Specifically these changes are meant to fix "URLError is not defined" being generated when communication fails to IMDB for whatever reason, in this case due to the VM's underlying host having gone into unhealthy state:
> 2020-12-04T08:38:49.108342-05:00 HOST /azure-events: ERROR: name 'URLError' is not defined
>
> In addition when the communication failure occurs, this adds specific failure notice to ocf_exit_reason for improved troubleshooting.  Also, changes were made to exit when URLError exception is encountered as currently the response is read into the variable data when response is null:
> ERROR: local variable 'data' referenced before assignment.
>
> First commit here so hopefully I'm following  the right procedure… Thanks.
>
> -Rich
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/developers
>
> ClusterLabs home: https://www.clusterlabs.org/
>


-- 
Regards,

Reid Wahl, RHCA
Senior Software Maintenance Engineer, Red Hat
CEE - Platform Support Delivery - ClusterHA



More information about the Developers mailing list