27 lines
840 B
Diff
27 lines
840 B
Diff
|
From 105f9a9066b3907da4cf1ecde3a484bd8c546b3f Mon Sep 17 00:00:00 2001
|
||
|
From: Vincent Untz <vuntz@suse.com>
|
||
|
Date: Wed, 3 Feb 2016 11:33:32 +0100
|
||
|
Subject: [PATCH 3/8] 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 d1d797e..b443a3c 100644
|
||
|
--- a/fence/agents/compute/fence_compute.py
|
||
|
+++ b/fence/agents/compute/fence_compute.py
|
||
|
@@ -344,7 +344,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.6.2
|
||
|
|