Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP5:Update
fence-agents.32803
0001-fence_vmware_rest-monitoring-action-is-not...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fence_vmware_rest-monitoring-action-is-not-detecting.patch of Package fence-agents.32803
diff --git a/agents/vmware_rest/fence_vmware_rest.py b/agents/vmware_rest/fence_vmware_rest.py index 378771863..9dc9a12f4 100644 --- a/agents/vmware_rest/fence_vmware_rest.py +++ b/agents/vmware_rest/fence_vmware_rest.py @@ -60,6 +60,9 @@ def get_list(conn, options): else: fail(EC_STATUS) + if options.get("--original-action") == "monitor" and not res["value"]: + logging.error("API user does not have sufficient rights to manage the power status.") + fail(EC_STATUS) for r in res["value"]: outlets[r["name"]] = ("", state[r["power_state"]])
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor