-
-
Save smalleni/0b855197b4b5f32b973f052682af7018 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e templates/network-environment.yaml -e templates/nodes.yaml -r templates/roles_data.yaml -e templates/neutron-settings.yaml --ntp-server 10.5.26.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource_registry: | |
OS::TripleO::BlockStorage::Net::SoftwareConfig: /home/stack/templates/nic-configs/cinder-storage.yaml | |
#OS::TripleO::Compute::Net::SoftwareConfig: /home/stack/templates/nic-configs/r730-compute.yaml | |
OS::TripleO::Controller::Net::SoftwareConfig: /home/stack/templates/nic-configs/r730-controller.yaml | |
OS::TripleO::ObjectStorage::Net::SoftwareConfig: /home/stack/templates/nic-configs/swift-storage.yaml | |
OS::TripleO::CephStorage::Net::SoftwareConfig: /home/stack/templates/nic-configs/ceph-storage.yaml | |
OS::TripleO::R730Compute::Net::SoftwareConfig: /home/stack/templates/nic-configs/r730-compute.yaml | |
OS::TripleO::R730Compute::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml | |
OS::TripleO::R730Compute::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/internal_api.yaml | |
OS::TripleO::R730Compute::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/storage.yaml | |
OS::TripleO::R730Compute::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml | |
OS::TripleO::R730Compute::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/tenant.yaml | |
parameter_defaults: | |
NeutronExternalNetworkBridge: "''" | |
InternalApiNetCidr: 172.16.0.0/24 | |
TenantNetCidr: 172.17.0.0/24 | |
StorageNetCidr: 172.18.0.0/24 | |
StorageMgmtNetCidr: 172.19.0.0/24 | |
ManagementNetCidr: 172.20.0.0/24 | |
ExternalNetCidr: 172.21.0.0/24 | |
InternalApiAllocationPools: [{'start': '172.16.0.10', 'end': '172.16.0.200'}] | |
TenantAllocationPools: [{'start': '172.17.0.10', 'end': '172.17.0.200'}] | |
StorageAllocationPools: [{'start': '172.18.0.10', 'end': '172.18.0.200'}] | |
StorageMgmtAllocationPools: [{'start': '172.19.0.10', 'end': '172.19.0.200'}] | |
ManagementAllocationPools: [{'start': '172.20.0.10', 'end': '172.20.0.200'}] | |
ExternalAllocationPools: [{'start': '172.21.0.10', 'end': '172.21.0.100'}] | |
# Set to the router gateway on the external network | |
ExternalInterfaceDefaultRoute: 172.21.0.1 | |
PublicVirtualFixedIPs: [{'ip_address':'172.21.0.10'}] | |
# Gateway router for the provisioning network (or Undercloud IP) | |
ControlPlaneDefaultRoute: 192.0.2.1 | |
# The IP address of the EC2 metadata server. Generally the IP of the Undercloud | |
EC2MetadataIp: 192.0.2.1 | |
# Define the DNS servers (maximum 2) for the overcloud nodes | |
DnsServers: ["10.11.5.19"] | |
InternalApiNetworkVlanID: 301 | |
StorageNetworkVlanID: 302 | |
StorageMgmtNetworkVlanID: 303 | |
TenantNetworkVlanID: 304 | |
ManagementNetworkVlanID: 305 | |
ExternalNetworkVlanID: 10 | |
# Set to "br-ex" if using floating IPs on native VLAN on bridge br-ex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameter_defaults: | |
NeutronExternalNetworkBridge: "''" | |
NeutronBridgeMappings: "''" | |
NeutronEnableIsolatedMetadata: 'True' | |
NeutronNetworkType: 'vxlan,gre,vlan,flat' | |
NeutronTunnelTypes: 'vxlan,gre' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameter_defaults: | |
ControllerCount: 3 | |
ComputeCount: 0 | |
#R730ControllerCount: 3 | |
R730ComputeCount: 9 | |
CephStorageCount: 0 | |
ObjectStorageCount: 0 | |
OvercloudControlFlavor: control | |
OvercloudR730ComputeFlavor: compute | |
OvercloudCephStorageFlavor: ceph-storage | |
OvercloudSwiftStorageFlavor: swift-storage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2015-04-30 | |
description: > | |
Software Config to drive os-net-config to configure VLANs for the | |
compute role. | |
parameters: | |
ControlPlaneIp: | |
default: '' | |
description: IP address/subnet on the ctlplane network | |
type: string | |
ExternalIpSubnet: | |
default: '' | |
description: IP address/subnet on the external network | |
type: string | |
InternalApiIpSubnet: | |
default: '' | |
description: IP address/subnet on the internal API network | |
type: string | |
StorageIpSubnet: | |
default: '' | |
description: IP address/subnet on the storage network | |
type: string | |
StorageMgmtIpSubnet: | |
default: '' | |
description: IP address/subnet on the storage mgmt network | |
type: string | |
TenantIpSubnet: | |
default: '' | |
description: IP address/subnet on the tenant network | |
type: string | |
ManagementIpSubnet: # Only populated when including environments/network-management.yaml | |
default: '' | |
description: IP address/subnet on the management network | |
type: string | |
InternalApiNetworkVlanID: | |
default: 20 | |
description: Vlan ID for the internal_api network traffic. | |
type: number | |
StorageNetworkVlanID: | |
default: 30 | |
description: Vlan ID for the storage network traffic. | |
type: number | |
TenantNetworkVlanID: | |
default: 50 | |
description: Vlan ID for the tenant network traffic. | |
type: number | |
ManagementNetworkVlanID: | |
default: 60 | |
description: Vlan ID for the management network traffic. | |
type: number | |
ControlPlaneSubnetCidr: # Override this via parameter_defaults | |
default: '24' | |
description: The subnet CIDR of the control plane network. | |
type: string | |
ControlPlaneDefaultRoute: # Override this via parameter_defaults | |
description: The default route of the control plane network. | |
type: string | |
ExternalInterfaceDefaultRoute: # Not used by default in this template | |
default: '10.0.0.1' | |
description: The default route of the external network. | |
type: string | |
ManagementInterfaceDefaultRoute: # Commented out by default in this template | |
default: unset | |
description: The default route of the management network. | |
type: string | |
DnsServers: # Override this via parameter_defaults | |
default: [] | |
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. | |
type: comma_delimited_list | |
EC2MetadataIp: # Override this via parameter_defaults | |
description: The IP address of the EC2 metadata server. | |
type: string | |
resources: | |
OsNetConfigImpl: | |
type: OS::Heat::StructuredConfig | |
properties: | |
group: os-apply-config | |
config: | |
os_net_config: | |
network_config: | |
- | |
type: ovs_bridge | |
name: br-storage | |
members: | |
- | |
type: interface | |
name: em1 | |
primary: true | |
- | |
type: vlan | |
vlan_id: {get_param: StorageNetworkVlanID} | |
addresses: | |
- | |
ip_netmask: {get_param: StorageIpSubnet} | |
- | |
type: ovs_bridge | |
name: br-tenant | |
members: | |
- | |
type: interface | |
name: p6p1 | |
primary: true | |
- | |
type: vlan | |
vlan_id: {get_param: TenantNetworkVlanID} | |
addresses: | |
- | |
ip_netmask: {get_param: TenantIpSubnet} | |
- | |
type: ovs_bridge | |
name: {get_input: bridge_name} | |
use_dhcp: false | |
dns_servers: {get_param: DnsServers} | |
addresses: | |
- | |
ip_netmask: | |
list_join: | |
- '/' | |
- - {get_param: ControlPlaneIp} | |
- {get_param: ControlPlaneSubnetCidr} | |
routes: | |
- | |
ip_netmask: 169.254.169.254/32 | |
next_hop: {get_param: EC2MetadataIp} | |
- | |
default: true | |
next_hop: {get_param: ControlPlaneDefaultRoute} | |
members: | |
- | |
type: interface | |
name: em2 | |
primary: true | |
- | |
type: interface | |
name: p6p2 | |
use_dhcp: false | |
addresses: | |
- | |
ip_netmask: {get_param: InternalApiIpSubnet} | |
outputs: | |
OS::stack_id: | |
description: The OsNetConfigImpl resource. | |
value: {get_resource: OsNetConfigImpl} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2015-04-30 | |
description: > | |
Software Config to drive os-net-config to configure VLANs for the | |
compute role. | |
parameters: | |
ControlPlaneIp: | |
default: '' | |
description: IP address/subnet on the ctlplane network | |
type: string | |
ExternalIpSubnet: | |
default: '' | |
description: IP address/subnet on the external network | |
type: string | |
InternalApiIpSubnet: | |
default: '' | |
description: IP address/subnet on the internal API network | |
type: string | |
StorageIpSubnet: | |
default: '' | |
description: IP address/subnet on the storage network | |
type: string | |
StorageMgmtIpSubnet: | |
default: '' | |
description: IP address/subnet on the storage mgmt network | |
type: string | |
TenantIpSubnet: | |
default: '' | |
description: IP address/subnet on the tenant network | |
type: string | |
ManagementIpSubnet: # Only populated when including environments/network-management.yaml | |
default: '' | |
description: IP address/subnet on the management network | |
type: string | |
ExternalNetworkVlanID: | |
default: 10 | |
description: Vlan ID for the internal_api network traffic. | |
type: number | |
InternalApiNetworkVlanID: | |
default: 20 | |
description: Vlan ID for the internal_api network traffic. | |
type: number | |
StorageNetworkVlanID: | |
default: 30 | |
description: Vlan ID for the storage network traffic. | |
type: number | |
TenantNetworkVlanID: | |
default: 50 | |
description: Vlan ID for the tenant network traffic. | |
type: number | |
ManagementNetworkVlanID: | |
default: 60 | |
description: Vlan ID for the management network traffic. | |
type: number | |
StorageMgmtNetworkVlanID: | |
default: 70 | |
description: Vlan ID for the storage management network traffic. | |
type: number | |
ControlPlaneSubnetCidr: # Override this via parameter_defaults | |
default: '24' | |
description: The subnet CIDR of the control plane network. | |
type: string | |
ControlPlaneDefaultRoute: # Override this via parameter_defaults | |
description: The default route of the control plane network. | |
type: string | |
ExternalInterfaceDefaultRoute: # Not used by default in this template | |
default: '10.0.0.1' | |
description: The default route of the external network. | |
type: string | |
ManagementInterfaceDefaultRoute: # Commented out by default in this template | |
default: unset | |
description: The default route of the management network. | |
type: string | |
DnsServers: # Override this via parameter_defaults | |
default: [] | |
description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf. | |
type: comma_delimited_list | |
EC2MetadataIp: # Override this via parameter_defaults | |
description: The IP address of the EC2 metadata server. | |
type: string | |
resources: | |
OsNetConfigImpl: | |
type: OS::Heat::StructuredConfig | |
properties: | |
group: os-apply-config | |
config: | |
os_net_config: | |
network_config: | |
- | |
type: ovs_bridge | |
name: br-storage | |
members: | |
- | |
type: interface | |
name: em1 | |
primary: true | |
- | |
type: vlan | |
vlan_id: {get_param: StorageNetworkVlanID} | |
addresses: | |
- | |
ip_netmask: {get_param: StorageIpSubnet} | |
- | |
type: vlan | |
vlan_id: {get_param: StorageMgmtNetworkVlanID} | |
addresses: | |
- | |
ip_netmask: {get_param: StorageMgmtIpSubnet} | |
- | |
type: ovs_bridge | |
name: br-tenant | |
members: | |
- | |
type: interface | |
name: p6p1 | |
primary: true | |
- | |
type: vlan | |
vlan_id: {get_param: TenantNetworkVlanID} | |
addresses: | |
- | |
ip_netmask: {get_param: TenantIpSubnet} | |
- | |
type: ovs_bridge | |
name: {get_input: bridge_name} | |
use_dhcp: false | |
dns_servers: {get_param: DnsServers} | |
addresses: | |
- | |
ip_netmask: | |
list_join: | |
- '/' | |
- - {get_param: ControlPlaneIp} | |
- {get_param: ControlPlaneSubnetCidr} | |
routes: | |
- | |
ip_netmask: 169.254.169.254/32 | |
next_hop: {get_param: EC2MetadataIp} | |
- | |
default: true | |
next_hop: {get_param: ControlPlaneDefaultRoute} | |
members: | |
- | |
type: interface | |
name: em2 | |
primary: true | |
- | |
type: vlan | |
vlan_id: {get_param: ExternalNetworkVlanID} | |
addresses: | |
- | |
ip_netmask: {get_param: ExternalIpSubnet} | |
routes: | |
- | |
default: true | |
next_hop: {get_param: ExternalInterfaceDefaultRoute} | |
- | |
type: interface | |
name: p6p2 | |
use_dhcp: false | |
addresses: | |
- | |
ip_netmask: {get_param: InternalApiIpSubnet} | |
outputs: | |
OS::stack_id: | |
description: The OsNetConfigImpl resource. | |
value: {get_resource: OsNetConfigImpl} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Specifies which roles (groups of nodes) will be deployed | |
# Note this is used as an input to the various *.j2.yaml | |
# jinja2 templates, so that they are converted into *.yaml | |
# during the plan creation (via a mistral action/workflow). | |
# | |
# The format is a list, with the following format: | |
# | |
# * name: (string) mandatory, name of the role, must be unique | |
# | |
# CountDefault: (number) optional, default number of nodes, defaults to 0 | |
# sets the default for the {{role.name}}Count parameter in overcloud.yaml | |
# | |
# HostnameFormatDefault: (string) optional default format string for hostname | |
# defaults to '%stackname%-{{role.name.lower()}}-%index%' | |
# sets the default for {{role.name}}HostnameFormat parameter in overcloud.yaml | |
# | |
# ServicesDefault: (list) optional default list of services to be deployed | |
# on the role, defaults to an empty list. Sets the default for the | |
# {{role.name}}Services parameter in overcloud.yaml | |
- name: Controller | |
CountDefault: 1 | |
ServicesDefault: | |
- OS::TripleO::Services::CACerts | |
- OS::TripleO::Services::CephMon | |
- OS::TripleO::Services::CephExternal | |
- OS::TripleO::Services::CephRgw | |
- OS::TripleO::Services::CinderApi | |
- OS::TripleO::Services::CinderBackup | |
- OS::TripleO::Services::CinderScheduler | |
- OS::TripleO::Services::CinderVolume | |
- OS::TripleO::Services::Core | |
- OS::TripleO::Services::Kernel | |
- OS::TripleO::Services::Keystone | |
- OS::TripleO::Services::GlanceApi | |
- OS::TripleO::Services::GlanceRegistry | |
- OS::TripleO::Services::HeatApi | |
- OS::TripleO::Services::HeatApiCfn | |
- OS::TripleO::Services::HeatApiCloudwatch | |
- OS::TripleO::Services::HeatEngine | |
- OS::TripleO::Services::MySQL | |
- OS::TripleO::Services::NeutronDhcpAgent | |
- OS::TripleO::Services::NeutronL3Agent | |
- OS::TripleO::Services::NeutronMetadataAgent | |
- OS::TripleO::Services::NeutronApi | |
- OS::TripleO::Services::NeutronCorePlugin | |
- OS::TripleO::Services::NeutronOvsAgent | |
- OS::TripleO::Services::RabbitMQ | |
- OS::TripleO::Services::HAproxy | |
- OS::TripleO::Services::Keepalived | |
- OS::TripleO::Services::Memcached | |
- OS::TripleO::Services::Pacemaker | |
- OS::TripleO::Services::Redis | |
- OS::TripleO::Services::NovaConductor | |
- OS::TripleO::Services::MongoDb | |
- OS::TripleO::Services::NovaApi | |
- OS::TripleO::Services::NovaMetadata | |
- OS::TripleO::Services::NovaScheduler | |
- OS::TripleO::Services::NovaConsoleauth | |
- OS::TripleO::Services::NovaVncProxy | |
- OS::TripleO::Services::Ntp | |
- OS::TripleO::Services::SwiftProxy | |
- OS::TripleO::Services::SwiftStorage | |
- OS::TripleO::Services::SwiftRingBuilder | |
- OS::TripleO::Services::Snmp | |
- OS::TripleO::Services::Timezone | |
- OS::TripleO::Services::CeilometerApi | |
- OS::TripleO::Services::CeilometerCollector | |
- OS::TripleO::Services::CeilometerExpirer | |
- OS::TripleO::Services::CeilometerAgentCentral | |
- OS::TripleO::Services::CeilometerAgentNotification | |
- OS::TripleO::Services::Horizon | |
- OS::TripleO::Services::GnocchiApi | |
- OS::TripleO::Services::GnocchiMetricd | |
- OS::TripleO::Services::GnocchiStatsd | |
- OS::TripleO::Services::ManilaApi | |
- OS::TripleO::Services::ManilaScheduler | |
- OS::TripleO::Services::ManilaBackendGeneric | |
- OS::TripleO::Services::ManilaBackendNetapp | |
- OS::TripleO::Services::ManilaBackendCephFs | |
- OS::TripleO::Services::ManilaShare | |
- OS::TripleO::Services::AodhApi | |
- OS::TripleO::Services::AodhEvaluator | |
- OS::TripleO::Services::AodhNotifier | |
- OS::TripleO::Services::AodhListener | |
- OS::TripleO::Services::SaharaApi | |
- OS::TripleO::Services::SaharaEngine | |
- OS::TripleO::Services::IronicApi | |
- OS::TripleO::Services::IronicConductor | |
- OS::TripleO::Services::NovaIronic | |
- OS::TripleO::Services::TripleoPackages | |
- OS::TripleO::Services::TripleoFirewall | |
- OS::TripleO::Services::OpenDaylightApi | |
- OS::TripleO::Services::OpenDaylightOvs | |
- OS::TripleO::Services::SensuClient | |
- OS::TripleO::Services::FluentdClient | |
- OS::TripleO::Services::VipHosts | |
- name: R730Compute | |
CountDefault: 1 | |
HostnameFormatDefault: '%stackname%-compute-%index%' | |
ServicesDefault: | |
- OS::TripleO::Services::CACerts | |
- OS::TripleO::Services::CephClient | |
- OS::TripleO::Services::CephExternal | |
- OS::TripleO::Services::Timezone | |
- OS::TripleO::Services::Ntp | |
- OS::TripleO::Services::Snmp | |
- OS::TripleO::Services::NovaCompute | |
- OS::TripleO::Services::NovaLibvirt | |
- OS::TripleO::Services::Kernel | |
- OS::TripleO::Services::ComputeNeutronCorePlugin | |
- OS::TripleO::Services::ComputeNeutronOvsAgent | |
- OS::TripleO::Services::ComputeCeilometerAgent | |
- OS::TripleO::Services::ComputeNeutronL3Agent | |
- OS::TripleO::Services::ComputeNeutronMetadataAgent | |
- OS::TripleO::Services::TripleoPackages | |
- OS::TripleO::Services::TripleoFirewall | |
- OS::TripleO::Services::NeutronSriovAgent | |
- OS::TripleO::Services::OpenDaylightOvs | |
- OS::TripleO::Services::SensuClient | |
- OS::TripleO::Services::FluentdClient | |
- OS::TripleO::Services::VipHosts | |
- name: BlockStorage | |
ServicesDefault: | |
- OS::TripleO::Services::CACerts | |
- OS::TripleO::Services::BlockStorageCinderVolume | |
- OS::TripleO::Services::Kernel | |
- OS::TripleO::Services::Ntp | |
- OS::TripleO::Services::Timezone | |
- OS::TripleO::Services::Snmp | |
- OS::TripleO::Services::TripleoPackages | |
- OS::TripleO::Services::TripleoFirewall | |
- OS::TripleO::Services::SensuClient | |
- OS::TripleO::Services::FluentdClient | |
- OS::TripleO::Services::VipHosts | |
- name: ObjectStorage | |
ServicesDefault: | |
- OS::TripleO::Services::CACerts | |
- OS::TripleO::Services::Kernel | |
- OS::TripleO::Services::Ntp | |
- OS::TripleO::Services::SwiftStorage | |
- OS::TripleO::Services::SwiftRingBuilder | |
- OS::TripleO::Services::Snmp | |
- OS::TripleO::Services::Timezone | |
- OS::TripleO::Services::TripleoPackages | |
- OS::TripleO::Services::TripleoFirewall | |
- OS::TripleO::Services::SensuClient | |
- OS::TripleO::Services::FluentdClient | |
- OS::TripleO::Services::VipHosts | |
- name: CephStorage | |
ServicesDefault: | |
- OS::TripleO::Services::CACerts | |
- OS::TripleO::Services::CephOSD | |
- OS::TripleO::Services::Kernel | |
- OS::TripleO::Services::Ntp | |
- OS::TripleO::Services::Snmp | |
- OS::TripleO::Services::Timezone | |
- OS::TripleO::Services::TripleoPackages | |
- OS::TripleO::Services::TripleoFirewall | |
- OS::TripleO::Services::SensuClient | |
- OS::TripleO::Services::FluentdClient | |
- OS::TripleO::Services::VipHosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment