summaryrefslogtreecommitdiffstats
path: root/overcloud-resource-registry-puppet.j2.yaml
blob: 2aebc1053943cf20c5025a4ddf1abd08129ff94c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
resource_registry:

  OS::TripleO::SoftwareDeployment: OS::Heat::StructuredDeployment
  OS::TripleO::PostDeploySteps: puppet/post.yaml
  OS::TripleO::AllNodes::SoftwareConfig: puppet/all-nodes-config.yaml
  OS::TripleO::DefaultPasswords: default_passwords.yaml

  # Tasks (for internal TripleO usage)
  OS::TripleO::Tasks::UpdateWorkflow: OS::Heat::None
  OS::TripleO::Tasks::PackageUpdate: extraconfig/tasks/yum_update.yaml

{% for role in roles %}
  OS::TripleO::{{role.name}}: puppet/{{role.name.lower()}}.yaml
  OS::TripleO::{{role.name}}Config: puppet/{{role.name.lower()}}-config.yaml
  OS::TripleO::Tasks::{{role.name}}PreConfig: OS::Heat::None
  OS::TripleO::Tasks::{{role.name}}PostConfig: OS::Heat::None
  OS::TripleO::{{role.name}}ExtraConfigPre: puppet/extraconfig/pre_deploy/default.yaml
  # Port assignments for the {{role.name}} role
  OS::TripleO::{{role.name}}::Ports::ExternalPort: network/ports/noop.yaml
  OS::TripleO::{{role.name}}::Ports::InternalApiPort: network/ports/noop.yaml
  OS::TripleO::{{role.name}}::Ports::StoragePort: network/ports/noop.yaml
  OS::TripleO::{{role.name}}::Ports::StorageMgmtPort: network/ports/noop.yaml
  OS::TripleO::{{role.name}}::Ports::TenantPort: network/ports/noop.yaml
  OS::TripleO::{{role.name}}::Ports::ManagementPort: network/ports/noop.yaml
  OS::TripleO::{{role.name}}::Net::SoftwareConfig: net-config-noop.yaml

{% endfor %}

  # This resource registry entry will override the one generated by default
  # in the jinja loop
  OS::TripleO::Controller::Net::SoftwareConfig: net-config-bridge.yaml

  OS::TripleO::Server: OS::Nova::Server

  # This creates the "heat-admin" user for all OS images by default
  # To disable, replace with firstboot/userdata_default.yaml
  OS::TripleO::NodeAdminUserData: firstboot/userdata_heat_admin.yaml

  # Hooks for operator extra config
  # NodeUserData == Cloud-init additional user-data, e.g cloud-config
  # ControllerExtraConfigPre == Controller configuration pre service deployment
  # NodeExtraConfig == All nodes configuration pre service deployment
  # NodeExtraConfigPost == All nodes configuration post service deployment
  OS::TripleO::NodeUserData: firstboot/userdata_default.yaml
  OS::TripleO::NodeTLSCAData: OS::Heat::None
  OS::TripleO::NodeTLSData: OS::Heat::None
  OS::TripleO::NodeExtraConfig: puppet/extraconfig/pre_deploy/default.yaml
  OS::TripleO::NodeExtraConfigPost: extraconfig/post_deploy/default.yaml

  # "AllNodes" Extra cluster config, runs on all nodes prior to the post_deploy
  # phase, e.g when puppet is applied, but after the pre_deploy phase.  Useful when
  # configuration with knowledge of all nodes in the cluster is required vs single
  # node configuration in the pre_deploy step.
  # See extraconfig/all_nodes/* for examples
  OS::TripleO::AllNodesExtraConfig: OS::Heat::None

  # TripleO overcloud networks
  OS::TripleO::Network: network/networks.yaml

  OS::TripleO::Network::External: OS::Heat::None
  OS::TripleO::Network::InternalApi: OS::Heat::None
  OS::TripleO::Network::StorageMgmt: OS::Heat::None
  OS::TripleO::Network::Storage: OS::Heat::None
  OS::TripleO::Network::Tenant: OS::Heat::None
  OS::TripleO::Network::Management: OS::Heat::None

  OS::TripleO::Network::ExtraConfig: OS::Heat::None

  OS::TripleO::Network::Ports::NetVipMap: network/ports/net_ip_map.yaml
  OS::TripleO::Network::Ports::NetIpMap: network/ports/net_ip_map.yaml
  OS::TripleO::Network::Ports::NetIpListMap: network/ports/net_ip_list_map.yaml

  # Port assignments for the VIPs
  OS::TripleO::Network::Ports::ExternalVipPort: network/ports/noop.yaml
  OS::TripleO::Network::Ports::InternalApiVipPort: network/ports/noop.yaml
  OS::TripleO::Network::Ports::StorageVipPort: network/ports/noop.yaml
  OS::TripleO::Network::Ports::StorageMgmtVipPort: network/ports/noop.yaml
  OS::TripleO::Network::Ports::RedisVipPort: network/ports/ctlplane_vip.yaml

  # Service to network Mappings
  OS::TripleO::ServiceNetMap: network/service_net_map.yaml

  # Service Endpoint Mappings
  OS::TripleO::EndpointMap: network/endpoints/endpoint_map.yaml

  # validation resources
  OS::TripleO::AllNodes::Validation: all-nodes-validation.yaml

  # services
  OS::TripleO::Services: puppet/services/services.yaml
  OS::TripleO::Services::Apache: puppet/services/apache.yaml
  OS::TripleO::Services::CACerts: puppet/services/ca-certs.yaml
  OS::TripleO::Services::CephMon: OS::Heat::None
  OS::TripleO::Services::CephRgw: OS::Heat::None
  OS::TripleO::Services::CephOSD: OS::Heat::None
  OS::TripleO::Services::CephClient: OS::Heat::None
  OS::TripleO::Services::CephExternal: OS::Heat::None
  OS::TripleO::Services::CinderApi: puppet/services/cinder-api.yaml
  OS::TripleO::Services::CinderBackup: OS::Heat::None
  OS::TripleO::Services::CinderScheduler: puppet/services/cinder-scheduler.yaml
  OS::TripleO::Services::CinderVolume: puppet/services/cinder-volume.yaml
  OS::TripleO::Services::Core: OS::Heat::None
  OS::TripleO::Services::Keystone: puppet/services/keystone.yaml
  OS::TripleO::Services::GlanceApi: puppet/services/glance-api.yaml
  OS::TripleO::Services::GlanceRegistry: puppet/services/glance-registry.yaml
  OS::TripleO::Services::HeatApi: puppet/services/heat-api.yaml
  OS::TripleO::Services::HeatApiCfn: puppet/services/heat-api-cfn.yaml
  OS::TripleO::Services::HeatApiCloudwatch: puppet/services/heat-api-cloudwatch.yaml
  OS::TripleO::Services::HeatEngine: puppet/services/heat-engine.yaml
  OS::TripleO::Services::Kernel: puppet/services/kernel.yaml
  OS::TripleO::Services::MySQL: puppet/services/database/mysql.yaml
  OS::TripleO::Services::NeutronDhcpAgent: puppet/services/neutron-dhcp.yaml
  OS::TripleO::Services::NeutronL3Agent: puppet/services/neutron-l3.yaml
  OS::TripleO::Services::NeutronMetadataAgent: puppet/services/neutron-metadata.yaml
  # FIXME(shardy) the duplicate NeutronServer line can be removed when we've updated
  # the multinode job ControllerServices after this patch merges
  OS::TripleO::Services::NeutronServer: puppet/services/neutron-api.yaml
  OS::TripleO::Services::NeutronApi: puppet/services/neutron-api.yaml
  OS::TripleO::Services::NeutronCorePlugin: puppet/services/neutron-plugin-ml2.yaml
  # can be the same as NeutronCorePlugin but some vendors install different
  # things where VMs run
  OS::TripleO::Services::ComputeNeutronCorePlugin: puppet/services/neutron-plugin-ml2.yaml
  # Neutron Core Plugin Vendors (these typically override NeutronCorePlugin)
  OS::TripleO::Services::NeutronCorePluginML2OVN: puppet/services/neutron-plugin-ml2-ovn.yaml
  OS::TripleO::Services::NeutronCorePluginPlumgrid: puppet/services/neutron-plugin-plumgrid.yaml
  OS::TripleO::Services::NeutronCorePluginNuage: puppet/services/neutron-plugin-nuage.yaml
  OS::TripleO::Services::NeutronCorePluginOpencontrail: puppet/services/neutron-plugin-opencontrail.yaml
  OS::TripleO::Services::NeutronCorePluginMidonet: puppet/services/neutron-midonet.yaml
  OS::TripleO::Services::NeutronOvsAgent: puppet/services/neutron-ovs-agent.yaml
  OS::TripleO::Services::ComputeNeutronOvsAgent: puppet/services/neutron-ovs-agent.yaml
  OS::TripleO::Services::Pacemaker: OS::Heat::None
  OS::TripleO::Services::NeutronSriovAgent: OS::Heat::None
  OS::TripleO::Services::RabbitMQ: puppet/services/rabbitmq.yaml
  OS::TripleO::Services::HAproxy: puppet/services/haproxy.yaml
  OS::TripleO::Services::Keepalived: puppet/services/keepalived.yaml
  OS::TripleO::Services::Memcached: puppet/services/memcached.yaml
  OS::TripleO::Services::SaharaApi: OS::Heat::None
  OS::TripleO::Services::SaharaEngine: OS::Heat::None
  OS::TripleO::Services::Redis: puppet/services/database/redis.yaml
  OS::TripleO::Services::NovaConductor: puppet/services/nova-conductor.yaml
  OS::TripleO::Services::MongoDb: puppet/services/database/mongodb.yaml
  OS::TripleO::Services::NovaApi: puppet/services/nova-api.yaml
  OS::TripleO::Services::NovaMetadata: puppet/services/nova-metadata.yaml
  OS::TripleO::Services::NovaScheduler: puppet/services/nova-scheduler.yaml
  OS::TripleO::Services::NovaConsoleauth: puppet/services/nova-consoleauth.yaml
  OS::TripleO::Services::NovaVncProxy: puppet/services/nova-vnc-proxy.yaml
  OS::TripleO::Services::NovaCompute: puppet/services/nova-compute.yaml
  OS::TripleO::Services::NovaLibvirt: puppet/services/nova-libvirt.yaml
  OS::TripleO::Services::Ntp: puppet/services/time/ntp.yaml
  OS::TripleO::Services::SwiftProxy: puppet/services/swift-proxy.yaml
  OS::TripleO::Services::SwiftStorage: puppet/services/swift-storage.yaml
  OS::TripleO::Services::SwiftRingBuilder: puppet/services/swift-ringbuilder.yaml
  OS::TripleO::Services::Snmp: puppet/services/snmp.yaml
  OS::TripleO::Services::Timezone: puppet/services/time/timezone.yaml
  OS::TripleO::Services::CeilometerApi: puppet/services/ceilometer-api.yaml
  OS::TripleO::Services::CeilometerCollector: puppet/services/ceilometer-collector.yaml
  OS::TripleO::Services::CeilometerExpirer: puppet/services/ceilometer-expirer.yaml
  OS::TripleO::Services::CeilometerAgentCentral: puppet/services/ceilometer-agent-central.yaml
  OS::TripleO::Services::CeilometerAgentNotification: puppet/services/ceilometer-agent-notification.yaml
  OS::TripleO::Services::ComputeCeilometerAgent: puppet/services/ceilometer-agent-compute.yaml
  OS::TripleO::Services::Horizon: puppet/services/horizon.yaml
  #Gnocchi services
  OS::TripleO::Services::GnocchiApi: puppet/services/gnocchi-api.yaml
  OS::TripleO::Services::GnocchiMetricd: puppet/services/gnocchi-metricd.yaml
  OS::TripleO::Services::GnocchiStatsd: puppet/services/gnocchi-statsd.yaml
  OS::TripleO::Services::VipHosts: puppet/services/vip-hosts.yaml
  # Services that are disabled by default (use relevant environment files):
  OS::TripleO::Services::FluentdClient: OS::Heat::None
  OS::TripleO::LoggingConfiguration: puppet/services/logging/fluentd-config.yaml
  OS::Tripleo::Services::ManilaApi: OS::Heat::None
  OS::Tripleo::Services::ManilaScheduler: OS::Heat::None
  OS::Tripleo::Services::ManilaShare: OS::Heat::None
  OS::Tripleo::Services::ManilaBackendGeneric: OS::Heat::None
  OS::Tripleo::Services::ManilaBackendNetapp: OS::Heat::None
  OS::Tripleo::Services::ManilaBackendCephFs: OS::Heat::None
  OS::TripleO::Services::ComputeNeutronL3Agent: OS::Heat::None
  OS::TripleO::Services::ComputeNeutronMetadataAgent: OS::Heat::None
  OS::TripleO::Services::AodhApi: puppet/services/aodh-api.yaml
  OS::TripleO::Services::AodhEvaluator: puppet/services/aodh-evaluator.yaml
  OS::TripleO::Services::AodhNotifier: puppet/services/aodh-notifier.yaml
  OS::TripleO::Services::AodhListener: puppet/services/aodh-listener.yaml
  OS::TripleO::Services::MistralEngine: OS::Heat::None
  OS::TripleO::Services::MistralApi: OS::Heat::None
  OS::TripleO::Services::MistralExecutor: OS::Heat::None
  OS::TripleO::Services::IronicApi: OS::Heat::None
  OS::TripleO::Services::IronicConductor: OS::Heat::None
  OS::TripleO::Services::NovaIronic: OS::Heat::None
  OS::TripleO::Services::TripleoPackages: puppet/services/tripleo-packages.yaml
  OS::TripleO::Services::TripleoFirewall: puppet/services/tripleo-firewall.yaml
  OS::TripleO::Services::OpenDaylight: OS::Heat::None
  OS::TripleO::Services::OpenDaylightOvs: OS::Heat::None
  OS::TripleO::Services::SensuClient: OS::Heat::None

parameter_defaults:
  EnablePackageInstall: false
  SoftwareConfigTransport: POLL_TEMP_URL