2016-08-26 13:59:46 +00:00
|
|
|
From 16c983a256fd8a245677ab7052d2ff3fd0b4efb0 Mon Sep 17 00:00:00 2001
|
2016-02-22 09:28:31 +00:00
|
|
|
From: Vincent Untz <vuntz@suse.com>
|
|
|
|
Date: Wed, 3 Feb 2016 11:33:32 +0100
|
2016-06-30 10:01:27 +00:00
|
|
|
Subject: [PATCH 1/9] fence_compute: Create nova client with API 2.11
|
2016-02-22 09:28:31 +00:00
|
|
|
|
|
|
|
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
|
2016-08-26 13:59:46 +00:00
|
|
|
index 0f05c12..f024aa5 100644
|
2016-02-22 09:28:31 +00:00
|
|
|
--- a/fence/agents/compute/fence_compute.py
|
|
|
|
+++ b/fence/agents/compute/fence_compute.py
|
2016-08-26 13:59:46 +00:00
|
|
|
@@ -434,7 +434,7 @@ def main():
|
2016-02-22 09:28:31 +00:00
|
|
|
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"],
|
|
|
|
--
|
2016-08-26 13:59:46 +00:00
|
|
|
2.9.0
|
2016-02-22 09:28:31 +00:00
|
|
|
|