Fix scale up cluster on CDH plugin with vanilla image
Change-Id: I5cda2b38be6532b13ccc7f31b6ea8ecf38c2247c Closes-bug: #1354022
This commit is contained in:
parent
b434226c4f
commit
8809ca0ebe
@ -138,7 +138,10 @@ def configure_cluster(cluster):
|
|||||||
|
|
||||||
|
|
||||||
def scale_cluster(cluster, instances):
|
def scale_cluster(cluster, instances):
|
||||||
if not cmd.is_pre_installed_cdh(pu.get_manager(cluster).remote()):
|
if not instances:
|
||||||
|
return
|
||||||
|
|
||||||
|
if not cmd.is_pre_installed_cdh(instances[0].remote()):
|
||||||
_configure_os(instances)
|
_configure_os(instances)
|
||||||
_install_packages(instances, PACKAGES)
|
_install_packages(instances, PACKAGES)
|
||||||
_post_install(instances)
|
_post_install(instances)
|
||||||
|
Loading…
Reference in New Issue
Block a user