Skip to content

Commit

Permalink
We have to provison both keystone/config-api as https in contrail-clo…
Browse files Browse the repository at this point in the history
…ud deployment.

In contrail-networking deployments we have option of provisioning config-api
with https and using keystone which is pre provisioned  with http.
The deployment of keystone with https and config-api with http is not recommended.

Change-Id: If66b897ba95562150920bcd9843895fb48af743d
Closes-Bug: 639074
  • Loading branch information
cijohnson committed Dec 8, 2016
1 parent a4d95bc commit 93eccbc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fabfile/tasks/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,13 @@ def pre_check():
print "\t 2.Same set of nodes or"
print "\t 3.cfgm should be subset of database nodes."
exit(1)
if (env.roledefs['openstack'] and # Openstack defined
[os_node for os_node in env.roledefs['openstack']
if os_node in env.roledefs['all']] and # Openstack in all role(contrail-cloud deployment)
keystone_ssl_enabled() and # ssl enabled for keystone
not apiserver_ssl_enabled()): # ssl disabled for apiserver
print "\nERROR: \n\tIn contrail cloud deployment, recommended to deploy both keystone and apiserver with ssl."
exit(1)


def role_to_ip_dict(role=None):
Expand Down

0 comments on commit 93eccbc

Please sign in to comment.