summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/deployment/fuel
diff options
context:
space:
mode:
authorRomanos Skiadas <rski@intracom-telecom.com>2017-02-16 11:19:29 +0000
committerJose Lausuch <jose.lausuch@ericsson.com>2017-02-16 11:49:04 +0000
commit27bc8e1d5a74477f75920bffa9632fbe7a6deeaf (patch)
treee043778f0864d4d3d3f166a9a82ae878cd2dc9bf /modules/opnfv/deployment/fuel
parentb180eb70e7554c85d66b25bf280f7bdbbe1249c5 (diff)
[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 <rski@intracom-telecom.com>
Diffstat (limited to 'modules/opnfv/deployment/fuel')
-rw-r--r--modules/opnfv/deployment/fuel/adapter.py2
1 files changed, 1 insertions, 1 deletions
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