From 27bc8e1d5a74477f75920bffa9632fbe7a6deeaf 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 --- modules/opnfv/deployment/fuel/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/opnfv') diff --git a/modules/opnfv/deployment/fuel/adapter.py b/modules/opnfv/deployment/fuel/adapter.py index aa5ad7a44..4ba9ca961 100644 --- a/modules/opnfv/deployment/fuel/adapter.py +++ b/modules/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