From: Ladislav Smola Date: Mon, 24 Feb 2014 15:04:52 +0000 (-0500) Subject: Different Flavors for Tuskar roles X-Git-Tag: opnfv-6.0.0~2870 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=9f4420800947b9f9860962edf9217934dc8012f3;p=apex-tripleo-heat-templates.git Different Flavors for Tuskar roles - different Flavors for control, compute and storage nodes - for devtest use, they default to 'baremetal', so nothing changes - for Tuskar, there is a possibility to have them different for every role Change-Id: I8c1b80f55a91c7a7fd5e560ccdb8da82ec374084 --- diff --git a/block-storage.yaml b/block-storage.yaml index ca56fcef..c801040f 100644 --- a/block-storage.yaml +++ b/block-storage.yaml @@ -11,6 +11,10 @@ Parameters: Type: String Default: "guest" NoEcho: true + OvercloudBlockStorageFlavor: + Default: baremetal + Description: Flavor for block storage nodes to request when deploying. + Type: String Resources: BlockStorageAccessPolicy: Type: OS::Heat::AccessPolicy @@ -31,7 +35,7 @@ Resources: Properties: image: {Ref: BlockStorageImage} - flavor: {Ref: Flavor} + flavor: {Ref: OvercloudBlockStorageFlavor} key_name: {Ref: KeyName} Metadata: os-collect-config: diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml index 55665dce..2aca285b 100644 --- a/nova-compute-instance.yaml +++ b/nova-compute-instance.yaml @@ -10,7 +10,7 @@ Parameters: Description: Name of an existing EC2 KeyPair to enable SSH access to the instances Type: String Default: default - Flavor: + OvercloudComputeFlavor: Description: Use this flavor Type: String Default: baremetal @@ -122,7 +122,7 @@ Resources: {Ref: NovaImage} image_update_policy: Ref: ImageUpdatePolicy - flavor: {Ref: Flavor} + flavor: {Ref: OvercloudComputeFlavor} key_name: {Ref: KeyName} Metadata: os-collect-config: diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 6d21a4dc..712c7300 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -17,9 +17,13 @@ Parameters: Description: The password for the cinder service account, used by cinder-api. Type: String NoEcho: true - Flavor: + OvercloudControlFlavor: Default: baremetal - Description: Flavor to request when deploying. + Description: Flavor for control nodes to request when deploying. + Type: String + OvercloudComputeFlavor: + Default: baremetal + Description: Flavor for compute nodes to request when deploying. Type: String GlancePassword: Default: unset @@ -446,7 +450,7 @@ Resources: image_update_policy: Ref: ImageUpdatePolicy flavor: - Ref: Flavor + Ref: OvercloudControlFlavor key_name: Ref: KeyName Metadata: