Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
fence-agents.4607
0007-fence_compute-Only-list-nova-compute-servi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0007-fence_compute-Only-list-nova-compute-services-when-g.patch of Package fence-agents.4607
From 35a454b4a7b7e5890d204c1a9893b2909ddccd27 Mon Sep 17 00:00:00 2001 From: Vincent Untz <vuntz@suse.com> Date: Thu, 4 Feb 2016 10:02:49 +0100 Subject: [PATCH 7/8] fence_compute: Only list nova-compute services when getting status We don't care about other services. --- fence/agents/compute/fence_compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fence/agents/compute/fence_compute.py b/fence/agents/compute/fence_compute.py index 7d7aa49..0273aa2 100644 --- a/fence/agents/compute/fence_compute.py +++ b/fence/agents/compute/fence_compute.py @@ -34,7 +34,7 @@ def get_power_status(_, options): if nova: try: - services = nova.services.list(host=options["--plug"]) + services = nova.services.list(host=options["--plug"], binary="nova-compute") for service in services: logging.debug("Status of %s is %s" % (service.binary, service.state)) if service.binary == "nova-compute": -- 2.6.2
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