Rework install script to use functions from gerrit
To avoid exceeding configdrive limit move download functons
as a library from gerrit.
Related-Prod: PRODX-3456
Change-Id: I38c8dbff5818fd3362e653ad8b1caa913580d1ec
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index dfbb370..e4dccf7 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -401,6 +401,9 @@
vmx_enabled:
type: boolean
default: false
+ devops_utils_refspec:
+ type: string
+ default: 'master'
conditions:
aio_deploy:
@@ -562,6 +565,7 @@
availability_zone: { get_param: availability_zone }
secure_overlay_enabled: { get_param: secure_overlay_enabled }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
masters:
type: OS::Heat::ResourceGroup
@@ -597,6 +601,7 @@
hardware_metadata: { get_param: hardware_metadata}
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
workers:
type: OS::Heat::ResourceGroup
@@ -650,6 +655,7 @@
cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
cmps:
type: OS::Heat::ResourceGroup
@@ -703,6 +709,7 @@
cinder_lvm_loop_device_size: { get_param: cmp_cinder_lvm_loop_device_size }
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
acmps:
type: OS::Heat::ResourceGroup
@@ -757,6 +764,7 @@
cinder_lvm_loop_device_size: { get_param: acmp_cinder_lvm_loop_device_size }
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
gtws:
type: OS::Heat::ResourceGroup
@@ -801,6 +809,7 @@
hardware_metadata: { get_param: hardware_metadata}
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
lmas:
type: OS::Heat::ResourceGroup
@@ -845,6 +854,7 @@
hardware_metadata: { get_param: hardware_metadata}
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
osds:
type: OS::Heat::ResourceGroup
@@ -897,6 +907,7 @@
num_volumes: { get_param: volumes_per_osd_instance }
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
frrs: # spares for osds/cmps
type: OS::Heat::ResourceGroup
@@ -999,6 +1010,7 @@
hardware_metadata: { get_param: hardware_metadata}
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
vbmcs:
type: OS::Heat::ResourceGroup
@@ -1043,6 +1055,7 @@
hardware_metadata: { get_param: hardware_metadata}
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
tsrvs:
type: OS::Heat::ResourceGroup
@@ -1087,6 +1100,7 @@
hardware_metadata: { get_param: hardware_metadata}
availability_zone: { get_param: availability_zone }
kubectl_version: { get_param: kubectl_version }
+ devops_utils_refspec: { get_param: devops_utils_refspec }
outputs:
ucp_ips: