summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Munilla <smunilla@redhat.com>2016-07-28 10:56:03 -0400
committerSamuel Munilla <smunilla@redhat.com>2016-07-28 10:57:39 -0400
commit8ed7f0c2df2e8acb4bcaf93553a21af246492dff (patch)
tree81aecfa7d387be801730b81233e3ed753fc7edef
parent70e535c23eb99bbce590b5da29cbaf0cf1d2da28 (diff)
downloadopenshift-8ed7f0c2df2e8acb4bcaf93553a21af246492dff.tar.gz
openshift-8ed7f0c2df2e8acb4bcaf93553a21af246492dff.tar.bz2
openshift-8ed7f0c2df2e8acb4bcaf93553a21af246492dff.tar.xz
openshift-8ed7f0c2df2e8acb4bcaf93553a21af246492dff.zip
a-o-i: Set roles on standalone storage
Sets the roles appropriately when using a standalone storage host. Fixes BZ#1353152
-rw-r--r--utils/src/ooinstall/cli_installer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index c9c13501d..9fbb61a46 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -322,9 +322,7 @@ Note: Containerized storage hosts are not currently supported.
else:
host_props['connect_to'] = hostname_or_ip
host_props['preconfigured'] = False
- host_props['master'] = False
- host_props['node'] = False
- host_props['storage'] = True
+ host_props['roles'] = ['storage']
storage = Host(**host_props)
hosts.append(storage)