diff options
-rw-r--r-- | overcloud-source.yaml | 100 | ||||
-rw-r--r-- | undercloud-bm-source.yaml | 7 | ||||
-rw-r--r-- | undercloud-vm-source.yaml | 7 |
3 files changed, 98 insertions, 16 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 8d2d5dd4..a1079b85 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -167,6 +167,10 @@ Parameters: Default: '' Description: If set, the public interface is a vlan with this device as the raw device. Type: String + NeutronDnsmasqOptions: + Default: 'dhcp-option-force=26,1400' + Description: Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU to be set to 1400 to account for the gre tunnel overhead. + Type: String controllerImage: Type: String Default: overcloud-control @@ -277,17 +281,32 @@ Resources: - show - 'novalocal' - Fn::Join: - - ' ' - - - Fn::Select: - - 0 - - Fn::Select: - - ctlplane - - Fn::GetAtt: - - controller0 - - networks - - {Ref: CloudName} - # If CloudName is unset, make the hosts line still valid - - unused + - "\n" + - Merge::Map: + controller0: + Fn::Join: + - ' ' + - - Fn::Select: + - 0 + - Fn::Select: + - ctlplane + - Fn::GetAtt: + - controller0 + - networks + - Fn::Select: + - name + - Fn::GetAtt: + - controller0 + - show + - Fn::Join: + - '.' + - - Fn::Select: + - name + - Fn::GetAtt: + - controller0 + - show + - 'novalocal' + - {Ref: CloudName} NovaCompute0Passthrough: Type: OS::Heat::StructuredDeployment Properties: @@ -376,6 +395,8 @@ Resources: ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8 service-password: Ref: NeutronPassword + dnsmasq-options: + Ref: NeutronDnsmasqOptions ceilometer: db: mysql://ceilometer:unset@localhost/ceilometer metering_secret: {Ref: CeilometerMeteringSecret} @@ -455,9 +476,60 @@ Resources: - ':8000/v1/waitcondition' hosts: Fn::Join: - - ' ' - - - {"Fn::Select": [ 0, "Fn::Select": [ ctlplane, { "Fn::GetAtt": [ controller0, networks ]}]]} - - {Ref: CloudName} + - "\n" + - - Fn::Join: + - "\n" + - Merge::Map: + NovaCompute0: + Fn::Join: + - ' ' + - - Fn::Select: + - 0 + - Fn::Select: + - ctlplane + - Fn::GetAtt: + - NovaCompute0 + - networks + - Fn::Select: + - name + - Fn::GetAtt: + - NovaCompute0 + - show + - Fn::Join: + - '.' + - - Fn::Select: + - name + - Fn::GetAtt: + - NovaCompute0 + - show + - 'novalocal' + - Fn::Join: + - "\n" + - Merge::Map: + controller0: + Fn::Join: + - ' ' + - - Fn::Select: + - 0 + - Fn::Select: + - ctlplane + - Fn::GetAtt: + - controller0 + - networks + - Fn::Select: + - name + - Fn::GetAtt: + - controller0 + - show + - Fn::Join: + - '.' + - - Fn::Select: + - name + - Fn::GetAtt: + - controller0 + - show + - 'novalocal' + - {Ref: CloudName} controller0SSLDeployment: Type: OS::Heat::StructuredDeployment Properties: diff --git a/undercloud-bm-source.yaml b/undercloud-bm-source.yaml index ff00d28c..a1c0b98a 100644 --- a/undercloud-bm-source.yaml +++ b/undercloud-bm-source.yaml @@ -7,6 +7,10 @@ Parameters: Default: nova.virt.baremetal.ipmi.IPMI Description: Bare metal power manager driver. Type: String + PxeDeployTimeout: + Default: 2400 + Description: Timeout for PXE deployment of baremetal nodes + Type: Number Resources: undercloudConfig: Type: AWS::AutoScaling::LaunchConfiguration @@ -27,6 +31,7 @@ Resources: db: mysql://nova:unset@localhost/nova_bm power_manager: Ref: PowerManager - pxe_deploy_timeout: 2400 + pxe_deploy_timeout: + Ref: PxeDeployTimeout service-password: Ref: NovaPassword diff --git a/undercloud-vm-source.yaml b/undercloud-vm-source.yaml index 48a6fffd..4e076fd3 100644 --- a/undercloud-vm-source.yaml +++ b/undercloud-vm-source.yaml @@ -7,6 +7,10 @@ Parameters: Default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager Description: Bare metal power manager driver. Type: String + PxeDeployTimeout: + Default: 2400 + Description: Timeout for PXE deployment of baremetal nodes + Type: Number PowerSSHHost: Default: 192.168.122.1 Description: SSH host to ssh to for power management operations. @@ -39,7 +43,8 @@ Resources: db: mysql://nova:unset@localhost/nova_bm power_manager: Ref: PowerManager - pxe_deploy_timeout: 2400 + pxe_deploy_timeout: + Ref: PxeDeployTimeout virtual_power: user: Ref: PowerUserName |