1 heat_template_version: 2016-04-08
4 OpenStack Ironic conductor configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 default: ['pxe_ipmitool', 'agent_ipmitool']
23 description: Enabled Ironic drivers
24 type: comma_delimited_list
27 description: Whether to use iPXE instead of PXE for deployment.
31 description: Port to use for serving images when iPXE is used.
33 MonitoringSubscriptionIronicConductor:
34 default: 'overcloud-ironic-conductor'
39 type: ./ironic-base.yaml
41 ServiceNetMap: {get_param: ServiceNetMap}
42 DefaultPasswords: {get_param: DefaultPasswords}
43 EndpointMap: {get_param: EndpointMap}
47 description: Role data for the Ironic conductor role.
49 service_name: ironic_conductor
50 monitoring_subscription: {get_param: MonitoringSubscriptionIronicConductor}
53 - get_attr: [IronicBase, role_data, config_settings]
54 # FIXME: I have no idea why neutron_url is in "api" manifest
55 - ironic::api::neutron_url: {get_param: [EndpointMap, NeutronInternal, uri]}
56 ironic::conductor::api_url: {get_param: [EndpointMap, IronicInternal, uri_no_suffix]}
57 ironic::conductor::enabled_drivers: {get_param: IronicEnabledDrivers}
58 # We need an endpoint containing a real IP, not a VIP here
59 ironic_conductor_http_host: {get_param: [ServiceNetMap, IronicNetwork]}
60 ironic::conductor::http_url:
64 - '%{hiera("ironic_conductor_http_host")}:'
65 - {get_param: IronicIPXEPort}
66 ironic::drivers::pxe::ipxe_enabled: {get_param: IronicIPXEEnabled}
67 ironic::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
68 # NOTE: bind IP is found in Heat replacing the network name with the
69 # local node IP for the given network; replacement examples
70 # (eg. for internal_api):
72 # internal_api_uri -> [IP]
73 # internal_api_subnet - > IP/CIDR
74 ironic::drivers::pxe::tftp_server: {get_param: [ServiceNetMap, IronicNetwork]}
75 # NOTE(dtantsur): UEFI only works with iPXE currently for us
76 ironic::drivers::pxe::uefi_pxe_config_template: '$pybasedir/drivers/modules/ipxe_config.template'
77 ironic::drivers::pxe::uefi_pxe_bootfile_name: 'ipxe.efi'
78 tripleo.ironic_conductor.firewall_rules:
79 '134 ironic conductor TFTP':
82 '135 ironic conductor HTTP':
83 dport: {get_param: IronicIPXEPort}
84 # NOTE(dtantsur): the my_ip parameter is heavily overloaded in
85 # ironic. It's used as a default value for e.g. TFTP server IP,
86 # glance and neutron endpoints, virtual console IP. We override
87 # the TFTP server IP in ironic-conductor.yaml as it should not be
88 # the VIP, but rather a real IP of the host.
89 ironic::my_ip: {get_param: [ServiceNetMap, IronicNetwork]}
90 ironic::pxe::common::http_port: {get_param: IronicIPXEPort}
93 include ::tripleo::profile::base::ironic::conductor