diff options
author | Romanos Skiadas <rski@intracom-telecom.com> | 2017-02-16 11:19:29 +0000 |
---|---|---|
committer | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-02-16 11:49:04 +0000 |
commit | 261f265858c7dbcf0c55aab939066e71c99a34f3 (patch) | |
tree | 293d3932695a670feabeaf3e436d6ddc40e0af35 /opnfv | |
parent | 5409c3c9d63886c4ff0b829deed2c57c5199bdee (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 'opnfv')
-rw-r--r-- | opnfv/deployment/fuel/adapter.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |