81 lines
2.6 KiB
Django/Jinja
81 lines
2.6 KiB
Django/Jinja
[DEFAULT]
|
|
debug = {{ ironic.logging_debug }}
|
|
use_syslog = false
|
|
use_stderr = true
|
|
|
|
my_ip = {{ network_topology["private"]["address"] }}
|
|
|
|
enabled_drivers = {{ ironic.enabled_drivers }}
|
|
|
|
enabled_network_interfaces = noop,flat
|
|
default_network_interface = flat
|
|
|
|
[api]
|
|
public_endpoint = http://{{ address('ironic', ironic.api_port, external=True, with_scheme=False) }}
|
|
host_ip = {{ network_topology["private"]["address"] }}
|
|
port = {{ ironic.api_port.cont }}
|
|
|
|
[database]
|
|
connection = mysql+pymysql://{{ ironic.db.username }}:{{ ironic.db.password }}@{{ address(service.database) }}/{{ ironic.db.name }}{% if percona.tls.enabled %}?ssl_ca=/opt/ccp/etc/tls/ca.pem{% endif %}
|
|
max_retries = -1
|
|
|
|
{{ keystone_authtoken.keystone_authtoken(ironic.username, ironic.password) }}
|
|
|
|
[service_catalog]
|
|
auth_type = password
|
|
auth_url = {{ address('keystone', keystone.public_port, with_scheme=True) }}
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = {{ ironic.username }}
|
|
password = {{ ironic.password }}
|
|
|
|
[conductor]
|
|
api_url = http://{{ address('ironic', ironic.api_port, external=True, with_scheme=False) }}
|
|
automated_clean = {{ ironic.automated_clean }}
|
|
|
|
[neutron]
|
|
auth_type = password
|
|
auth_url = {{ address('keystone', keystone.public_port, with_scheme=True) }}
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = {{ ironic.username }}
|
|
password = {{ ironic.password }}
|
|
|
|
url={{ address('neutron-server', neutron.server_port, with_scheme=True) }}
|
|
|
|
[glance]
|
|
auth_type = password
|
|
auth_url = {{ address('keystone', keystone.public_port, with_scheme=True) }}
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = {{ ironic.username }}
|
|
password = {{ ironic.password }}
|
|
|
|
glance_api_servers = {{ address('glance-api', glance.api_port, with_scheme=True) }}
|
|
|
|
swift_endpoint_url = http://{{ address('radosgw', radosgw.port, external=True, with_scheme=False) }}
|
|
swift_temp_url_key = {{ ironic.swift.temp_url_key }}
|
|
temp_url_endpoint_type = radosgw
|
|
|
|
[pxe]
|
|
pxe_append_params = nofb nomodeset vga=normal
|
|
tftp_root = /var/lib/ironic/tftpboot
|
|
tftp_master_path = /var/lib/ironic/tftpboot/master_images
|
|
ipxe_enabled = true
|
|
ipxe_use_swift = {{ ironic.ipxe.use_swift }}
|
|
pxe_bootfile_name=undionly.kpxe
|
|
pxe_config_template=$pybasedir/drivers/modules/ipxe_config.template
|
|
|
|
[deploy]
|
|
http_root=/var/lib/ironic/httpboot
|
|
http_url=http://{{ network_topology["private"]["address"] }}:{{ ironic.ipxe.external_port }}
|
|
|
|
[ansible]
|
|
use_ramdisk_callback = {{ ironic.ansible.use_ramdisk_callback }}
|
|
|
|
{# messaging macros template #}
|
|
{{ oslo_messaging[messaging.backend.rpc]('rpc_config') }}
|