Pete Birley 5d7cfc8dc5 Ironic: Move to use sqllite rather than mariadb
This PS makes the ironic deployment a bit simpler by removing
mariadb and using sqllite instead. It also fixes the path of the
ironic inspector db to get it to persist pod restarts.

Change-Id: I522774597ff921449e86e2742131e5a51d60d559
Signed-off-by: Pete Birley <pete@port.direct>
2020-03-31 15:55:41 -05:00

58 lines
1.8 KiB
Plaintext

[DEFAULT]
auth_strategy = noauth
my_ip = $(PROVISIONING_IP)
debug = true
default_boot_interface = ipxe
default_deploy_interface = direct
default_inspect_interface = inspector
default_network_interface = noop
enabled_boot_interfaces = pxe,ipxe,fake,redfish-virtual-media
enabled_deploy_interfaces = direct,fake
enabled_hardware_types = ipmi,idrac,irmc,fake-hardware,redfish
enabled_inspect_interfaces = inspector,idrac,irmc,fake,redfish
enabled_management_interfaces = ipmitool,idrac,irmc,fake,redfish,idrac-redfish
enabled_power_interfaces = ipmitool,idrac,irmc,fake,redfish,idrac-redfish
enabled_raid_interfaces = no-raid,irmc,agent,fake
enabled_vendor_interfaces = ipmitool,no-vendor,idrac,fake
rpc_transport = json-rpc
use_stderr = true
[agent]
deploy_logs_collect = always
deploy_logs_local_path = /shared/log/ironic/deploy
[api]
host_ip = ::
api_workers = $(API_WORKERS)
[conductor]
automated_clean = $(AUTOMATED_CLEAN)
send_sensor_data = true
send_sensor_data_interval = 160
api_url = http://$(PROVISIONING_IP):6385
bootloader = http://$(PROVISIONING_IP):80/uefi_esp.img
[database]
connection = sqlite:///shared/ironic.db
[deploy]
default_boot_option = local
erase_devices_metadata_priority = 10
erase_devices_priority = 0
http_root = /shared/html/
http_url = http://$(PROVISIONING_IP):80
fast_track = $(FAST_TRACK)
[dhcp]
dhcp_provider = none
[inspector]
endpoint_override = http://$(PROVISIONING_IP):5050
[oslo_messaging_notifications]
driver = prometheus_exporter
location = /shared/ironic_prometheus_exporter
transport_url = fake://
[pxe]
images_path = /shared/html/tmp
instance_master_path = /shared/html/master_images
ipxe_enabled = true
pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template
tftp_master_path = /shared/tftpboot
tftp_root = /shared/tftpboot
uefi_pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template
[redfish]
use_swift = false