fix for get base image info for ebs 18.04
MODIFY
deploy-board/deploy_board/settings.py
deploy-board/deploy_board/settings.py
@@ -286,7 +286,7 @@ if IS_PINTEREST:
DEFAULT_PROVIDER = 'AWS'
#Pinterest Default AMI image name
- DEFAULT_CMP_IMAGE = 'cmp_base-ebs-18.04'
+ DEFAULT_CMP_IMAGE = 'cmp_base-ebs'
#Pinterest Default Host Type
DEFAULT_CMP_HOST_TYPE = 'EbsComputeLo(Recommended)'

MODIFY
deploy-board/deploy_board/templates/clusters/cluster_configuration.html
deploy-board/deploy_board/templates/clusters/cluster_configuration.html
var cell = capacitySetting.currentCell;
var scope = this;
var provider = capacitySetting.currentProvider;
- value = 'cmp_base-ebs-18.04';
+ value = 'cmp_base-ebs';
if (this.selectedHostTypeValue.startsWith('EbsCompute')) {
capacitySetting.imageNameValue = value;
capacitySetting.imagenames = info.baseImageNames.map(

MODIFY
deploy-board/deploy_board/templates/configs/new_capacity_adv.html
deploy-board/deploy_board/templates/configs/new_capacity_adv.html
@@ -372,7 +372,7 @@ var capacitySetting = new Vue({
var cell = capacitySetting.currentCell;
var scope = this;
var provider = capacitySetting.currentProvider;
- value = 'cmp_base-ebs-18.04';
+ value = 'cmp_base-ebs';
if (this.selectedHostTypeValue.startsWith('EbsCompute')) {
capacitySetting.imageNameValue = value;
capacitySetting.imagenames = info.baseImageNames.map(

MODIFY
deploy-board/deploy_board/webapp/cluster_urls.py
deploy-board/deploy_board/webapp/cluster_urls.py
@@ -31,7 +31,7 @@ urlpatterns = [
cluster_view.get_security_zones_by_provider_and_cell),
url(r'^clouds/get_base_images/$', cluster_view.get_base_images_by_name),
url(r'^clouds/get_base_images/(?P<name>[a-zA-Z0-9\-_\.]+)/$', cluster_view.get_base_images_by_name_json),
- url(r'^clouds/get_base_image_info/(?P<name>[a-zA-Z0-9\-_]+)/$', cluster_view.get_base_images_by_name_json),
+ url(r'^clouds/get_base_image_info/(?P<name>[a-zA-Z0-9\-_\.]+)/$', cluster_view.get_base_images_by_name_json),
url(r'^clouds/create_host_type/$', cluster_view.create_host_type),
url(r'^clouds/hosttypes/$', cluster_view.get_host_types),

fix for get base image info for ebs 18.04 (#697)