Register SSL cert in Java keystore to access to swift via SSL

Closes-bug: #1488101

Change-Id: I25723e151ffc82e147c986e96e46b05eedb26cb0
This commit is contained in:
Sergey Reshetnyak 2015-08-25 17:54:43 +03:00
parent 421d4751b4
commit 005f8cc79f
3 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,7 @@ from sahara.plugins.vanilla.hadoop2 import config_helper as c_helper
from sahara.plugins.vanilla.hadoop2 import run_scripts as run
from sahara.plugins.vanilla.hadoop2 import utils as pu
from sahara.plugins.vanilla import utils as vu
from sahara.swift import swift_helper
from sahara.utils import cluster_progress_ops as cpo
from sahara.utils import poll_utils
@ -37,6 +38,7 @@ def scale_cluster(pctx, cluster, instances):
config.configure_topology_data(pctx, cluster)
run.start_dn_nm_processes(instances)
swift_helper.install_ssl_certs(instances)
def _get_instances_with_service(instances, service):

View File

@ -31,6 +31,8 @@ from sahara.plugins.vanilla.hadoop2 import validation as vl
from sahara.plugins.vanilla import utils as vu
from sahara.plugins.vanilla.v2_6_0 import config_helper as c_helper
from sahara.plugins.vanilla.v2_6_0 import edp_engine
from sahara.swift import swift_helper
from sahara.utils import cluster as cluster_utils
conductor = conductor.API
@ -82,6 +84,8 @@ class VersionHandler(avm.AbstractVersionHandler):
s_scripts.start_oozie(self.pctx, cluster)
s_scripts.start_hiveserver(self.pctx, cluster)
swift_helper.install_ssl_certs(cluster_utils.get_instances(cluster))
self._set_cluster_info(cluster)
def decommission_nodes(self, cluster, instances):

View File

@ -29,6 +29,8 @@ from sahara.plugins.vanilla.hadoop2 import validation as vl
from sahara.plugins.vanilla import utils as vu
from sahara.plugins.vanilla.v2_7_1 import config_helper as c_helper
from sahara.plugins.vanilla.v2_7_1 import edp_engine
from sahara.swift import swift_helper
from sahara.utils import cluster as cluster_utils
conductor = conductor.API
@ -77,6 +79,8 @@ class VersionHandler(avm.AbstractVersionHandler):
s_scripts.start_oozie(self.pctx, cluster)
s_scripts.start_hiveserver(self.pctx, cluster)
swift_helper.install_ssl_certs(cluster_utils.get_instances(cluster))
self._set_cluster_info(cluster)
def decommission_nodes(self, cluster, instances):