fence-agents/0001-fence_compute-Create-nova-client-with-API-2.11.patch
Kristoffer Gronlund db0d731e53 - Update to version 4.0.24:
* Improve obtaining status on Cisco UCS devices
  * Fix issues with symlink installations
  * Fix documentation for fence_scsi and fence_mpath

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=54
2016-08-26 13:59:46 +00:00

27 lines
840 B
Diff

From 16c983a256fd8a245677ab7052d2ff3fd0b4efb0 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@suse.com>
Date: Wed, 3 Feb 2016 11:33:32 +0100
Subject: [PATCH 1/9] fence_compute: Create nova client with API 2.11
The force_down API requires to use version 2.11 or later.
---
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 0f05c12..f024aa5 100644
--- a/fence/agents/compute/fence_compute.py
+++ b/fence/agents/compute/fence_compute.py
@@ -434,7 +434,7 @@ def main():
sys.exit(0)
# The first argument is the Nova client version
- nova = nova_client.Client('2',
+ nova = nova_client.Client('2.11',
options["--username"],
options["--password"],
options["--tenant-name"],
--
2.9.0