From 261f265858c7dbcf0c55aab939066e71c99a34f3 Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Thu, 16 Feb 2017 11:19:29 +0000 Subject: [deployment_handler] Fix getting roles from fuel node output The roles column that the fuel adapter should look in is "roles" but it accidentally ended up looking in "pending_roles". Change-Id: Ifcc59c16da2c604e60ca4d6e3ab33b5b91a029b6 Signed-off-by: Romanos Skiadas --- opnfv/deployment/fuel/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opnfv/deployment') diff --git a/opnfv/deployment/fuel/adapter.py b/opnfv/deployment/fuel/adapter.py index aa5ad7a..4ba9ca9 100644 --- a/opnfv/deployment/fuel/adapter.py +++ b/opnfv/deployment/fuel/adapter.py @@ -114,7 +114,7 @@ class FuelAdapter(manager.DeploymentHandler): index_ip = i elif "mac" in fields[i]: index_mac = i - elif "roles " in fields[i]: + elif "roles " in fields[i] and "pending_roles" not in fields[i]: index_roles = i elif "online" in fields[i]: index_online = i -- cgit 1.2.3-korg